aboutsummaryrefslogtreecommitdiff
path: root/instance/config.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2021-12-28 01:12:02 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2021-12-28 01:12:02 +0100
commit56b34db2bb402fd4b2991e271ec493f8bfb96420 (patch)
tree8938cff4a0af7593fec5dd884de5803a0eee226b /instance/config.py
parentupdated SQLAlchemy (diff)
downloadnewspipe-56b34db2bb402fd4b2991e271ec493f8bfb96420.tar.gz
newspipe-56b34db2bb402fd4b2991e271ec493f8bfb96420.tar.bz2
newspipe-56b34db2bb402fd4b2991e271ec493f8bfb96420.zip
chg: [style] Format with black.
Diffstat (limited to 'instance/config.py')
-rw-r--r--instance/config.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/instance/config.py b/instance/config.py
index 577c1659..eae58a53 100644
--- a/instance/config.py
+++ b/instance/config.py
@@ -28,19 +28,19 @@ SQLALCHEMY_DATABASE_URI = "postgresql://{user}:{password}@{host}:{port}/{name}".
# Security
CONTENT_SECURITY_POLICY = {
- 'default-src': '\'self\'',
- 'img-src': '*',
- 'media-src': [
- 'youtube.com',
+ "default-src": "'self'",
+ "img-src": "*",
+ "media-src": [
+ "youtube.com",
],
- 'script-src': [
- '\'self\'',
- '\'unsafe-inline\'',
+ "script-src": [
+ "'self'",
+ "'unsafe-inline'",
+ ],
+ "style-src": [
+ "'self'",
+ "'unsafe-inline'",
],
- 'style-src': [
- '\'self\'',
- '\'unsafe-inline\'',
- ]
}
# Crawler
CRAWLING_METHOD = "default"
bgstack15