aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/conf.py3
-rw-r--r--src/conf/conf.cfg-sample2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/conf.py b/src/conf.py
index 8ee77ceb..38dbee69 100644
--- a/src/conf.py
+++ b/src/conf.py
@@ -23,6 +23,7 @@ TIME_ZONE = {
ON_HEROKU = int(os.environ.get('HEROKU', 0)) == 1
DEFAULTS = {"platform_url": "https://JARR.herokuapp.com/",
+ "cdn_address": "",
"admin_email": "root@jarr.localhost",
"postmark_api_key": "",
"recaptcha_public_key": "",
@@ -107,7 +108,7 @@ WEBSERVER_HOST = config.get('webserver', 'host')
WEBSERVER_PORT = config.getint('webserver', 'port')
WEBSERVER_SECRET = config.get('webserver', 'secret')
-CDN_ADDRESS = config.get('cdn', 'address')
+CDN_ADDRESS = config.get('cdn', 'cdn_address')
NOTIFICATION_EMAIL = config.get('notification', 'notification_email')
NOTIFICATION_HOST = config.get('notification', 'host')
diff --git a/src/conf/conf.cfg-sample b/src/conf/conf.cfg-sample
index 2bcbca74..bbbf5996 100644
--- a/src/conf/conf.cfg-sample
+++ b/src/conf/conf.cfg-sample
@@ -3,7 +3,7 @@ host = 127.0.0.1
port = 5000
secret = a secret only you know
[cdn]
-address = https://cdn.cedricbonhomme.org/
+cdn_address = https://cdn.cedricbonhomme.org/
[misc]
platform_url = http://127.0.0.1:5000/
admin_email =
bgstack15