aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-10 18:20:28 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-10 18:20:28 +0200
commitdb382e69102753f79a20e220fb98143bf02f4f8d (patch)
tree8a013e288322b1fbcaf2a9fcbfc9b940e4ad2888 /src
parenttest (diff)
downloadnewspipe-db382e69102753f79a20e220fb98143bf02f4f8d.tar.gz
newspipe-db382e69102753f79a20e220fb98143bf02f4f8d.tar.bz2
newspipe-db382e69102753f79a20e220fb98143bf02f4f8d.zip
test
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap.py2
-rwxr-xr-xsrc/runserver.py2
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)
bgstack15