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