The recent changes to content security policy broke custom theming. I fixed it by adding a trusted hosts field to Server Configuration

This commit is contained in:
cbartondock
2021-10-22 15:35:10 -04:00
parent 95544ef885
commit c6bf62a6eb
4 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -1199,7 +1199,7 @@ def _configuration_update_helper():
to_save = request.form.to_dict()
try:
reboot_required |= _config_int(to_save, "config_port")
reboot_required |= _config_string(to_save, "config_trustedhosts")
reboot_required |= _config_string(to_save, "config_keyfile")
if config.config_keyfile and not os.path.isfile(config.config_keyfile):
return _configuration_result(_('Keyfile Location is not Valid, Please Enter Correct Path'))