aboutsummaryrefslogtreecommitdiff
path: root/src/runserver.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-10 18:05:28 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-10 18:05:28 +0200
commitc14cf3d69c19d7a3c21cccb4be82cf8d3c6f89ed (patch)
treee37c3ca7ae19c2811784608608e16c534443b886 /src/runserver.py
parentUpdated about page. (diff)
downloadnewspipe-c14cf3d69c19d7a3c21cccb4be82cf8d3c6f89ed.tar.gz
newspipe-c14cf3d69c19d7a3c21cccb4be82cf8d3c6f89ed.tar.bz2
newspipe-c14cf3d69c19d7a3c21cccb4be82cf8d3c6f89ed.zip
test
Diffstat (limited to 'src/runserver.py')
-rwxr-xr-xsrc/runserver.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runserver.py b/src/runserver.py
index 4687dd37..0768cea8 100755
--- a/src/runserver.py
+++ b/src/runserver.py
@@ -22,6 +22,10 @@ import calendar
from bootstrap import conf, application, populate_g
from flask_babel import Babel, format_datetime
+if conf.ON_HEROKU:
+ from flask_sslify import SSLify
+ SSLify(application)
+
babel = Babel(application)
bgstack15