aboutsummaryrefslogtreecommitdiff
path: root/instance/sqlite.py
diff options
context:
space:
mode:
Diffstat (limited to 'instance/sqlite.py')
-rw-r--r--instance/sqlite.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/instance/sqlite.py b/instance/sqlite.py
index cec46f48..0407ca1b 100644
--- a/instance/sqlite.py
+++ b/instance/sqlite.py
@@ -24,7 +24,14 @@ CONTENT_SECURITY_POLICY = {
'media-src': [
'youtube.com',
],
- 'script-src': '\'self\''
+ 'script-src': [
+ '\'self\'',
+ '\'unsafe-inline\'',
+ ],
+ 'style-src': [
+ '\'self\'',
+ '\'unsafe-inline\'',
+ ]
}
# Crawler
bgstack15