aboutsummaryrefslogtreecommitdiff
path: root/src/bootstrap.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-10 18:14:26 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-10 18:14:26 +0200
commita670a179a6c11932466a2c20bc9a541b6e1ffa39 (patch)
tree087f074efcb64e171da8fcc344f8d807f29f4033 /src/bootstrap.py
parenttest (diff)
downloadnewspipe-a670a179a6c11932466a2c20bc9a541b6e1ffa39.tar.gz
newspipe-a670a179a6c11932466a2c20bc9a541b6e1ffa39.tar.bz2
newspipe-a670a179a6c11932466a2c20bc9a541b6e1ffa39.zip
test
Diffstat (limited to 'src/bootstrap.py')
-rw-r--r--src/bootstrap.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap.py b/src/bootstrap.py
index 912c35ae..d45567f1 100644
--- a/src/bootstrap.py
+++ b/src/bootstrap.py
@@ -25,6 +25,9 @@ from flask_sqlalchemy import SQLAlchemy
# Create Flask application
application = Flask('web')
+if conf.ON_HEROKU:
+ from flask_sslify import SSLify
+ SSLify(application)
if os.environ.get('Newspipe_TESTING', False) == 'true':
application.debug = logging.DEBUG
application.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///:memory:'
bgstack15