From a670a179a6c11932466a2c20bc9a541b6e1ffa39 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 10 Oct 2016 18:14:26 +0200 Subject: test --- src/bootstrap.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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:' -- cgit