aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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