diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-10 18:20:28 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-10 18:20:28 +0200 |
commit | db382e69102753f79a20e220fb98143bf02f4f8d (patch) | |
tree | 8a013e288322b1fbcaf2a9fcbfc9b940e4ad2888 | |
parent | test (diff) | |
download | newspipe-db382e69102753f79a20e220fb98143bf02f4f8d.tar.gz newspipe-db382e69102753f79a20e220fb98143bf02f4f8d.tar.bz2 newspipe-db382e69102753f79a20e220fb98143bf02f4f8d.zip |
test
-rw-r--r-- | src/bootstrap.py | 2 | ||||
-rwxr-xr-x | src/runserver.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap.py b/src/bootstrap.py index d45567f1..cf8991f0 100644 --- a/src/bootstrap.py +++ b/src/bootstrap.py @@ -27,7 +27,7 @@ from flask_sqlalchemy import SQLAlchemy application = Flask('web') if conf.ON_HEROKU: from flask_sslify import SSLify - SSLify(application) + SSLify(application, subdomains=True) if os.environ.get('Newspipe_TESTING', False) == 'true': application.debug = logging.DEBUG application.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///:memory:' diff --git a/src/runserver.py b/src/runserver.py index 0768cea8..f67c1653 100755 --- a/src/runserver.py +++ b/src/runserver.py @@ -24,7 +24,7 @@ from flask_babel import Babel, format_datetime if conf.ON_HEROKU: from flask_sslify import SSLify - SSLify(application) + SSLify(application, subdomains=True) babel = Babel(application) |