diff --git a/omeroweb/settings.py b/omeroweb/settings.py index 639219b36d..f5e5fda0af 100755 --- a/omeroweb/settings.py +++ b/omeroweb/settings.py @@ -1181,7 +1181,7 @@ def check_session_engine(s): ], "omero.web.csp_script_src": [ "CSP_SCRIPT_SRC", - "[\"'self'\"]", + "[\"'self'\", \"unsafe-inline\"]", json.loads, "Set the CSP script-src directive", ], @@ -1193,7 +1193,7 @@ def check_session_engine(s): ], "omero.web.csp_style_src": [ "CSP_STYLE_SRC", - "[\"'self'\"]", + "[\"'self'\", \"unsafe-inline\"]", json.loads, "Set the CSP style-src directive", ],