aboutsummaryrefslogtreecommitdiff
path: root/src/conf.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-03 21:00:25 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-03 21:00:25 +0100
commit4367d8d1df461806946e756370c9cb73e94f1a1a (patch)
tree409615a775d77f32b04c2bf266c11021ba058b22 /src/conf.py
parentcarpy tests for alembic... (diff)
downloadnewspipe-4367d8d1df461806946e756370c9cb73e94f1a1a.tar.gz
newspipe-4367d8d1df461806946e756370c9cb73e94f1a1a.tar.bz2
newspipe-4367d8d1df461806946e756370c9cb73e94f1a1a.zip
It is now possible to give the address of a CDN server through the configuratin file (or a system variable).
Diffstat (limited to 'src/conf.py')
-rw-r--r--src/conf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf.py b/src/conf.py
index 8acdeef6..8ee77ceb 100644
--- a/src/conf.py
+++ b/src/conf.py
@@ -107,6 +107,8 @@ WEBSERVER_HOST = config.get('webserver', 'host')
WEBSERVER_PORT = config.getint('webserver', 'port')
WEBSERVER_SECRET = config.get('webserver', 'secret')
+CDN_ADDRESS = config.get('cdn', 'address')
+
NOTIFICATION_EMAIL = config.get('notification', 'notification_email')
NOTIFICATION_HOST = config.get('notification', 'host')
NOTIFICATION_PORT = config.getint('notification', 'port')
bgstack15