Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 23, 2024
1 parent 689325a commit 2378b35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions omeroweb/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ def check_session_engine(s):
],
"omero.web.csp_script_src": [
"CSP_SCRIPT_SRC",
'["\'self\'", "\'unsafe-inline\'", "\'unsafe-eval\'"]',
"[\"'self'\", \"'unsafe-inline'\", \"'unsafe-eval'\"]",
json.loads,
"Set the CSP script-src directive",
],
Expand All @@ -1193,7 +1193,7 @@ def check_session_engine(s):
],
"omero.web.csp_style_src": [
"CSP_STYLE_SRC",
'["\'self\'", "\'unsafe-inline\'"]',
"[\"'self'\", \"'unsafe-inline'\"]",
json.loads,
"Set the CSP style-src directive",
],
Expand Down

0 comments on commit 2378b35

Please sign in to comment.