diff options
Diffstat (limited to 'pyaggr3g470r/__init__.py')
-rw-r--r-- | pyaggr3g470r/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pyaggr3g470r/__init__.py b/pyaggr3g470r/__init__.py index 36f95bc0..a1ab31bf 100644 --- a/pyaggr3g470r/__init__.py +++ b/pyaggr3g470r/__init__.py @@ -25,6 +25,10 @@ app.config['RECAPTCHA_USE_SSL'] = True app.config['RECAPTCHA_PUBLIC_KEY'] = conf.RECAPTCHA_PUBLIC_KEY app.config['RECAPTCHA_PRIVATE_KEY'] = conf.RECAPTCHA_PRIVATE_KEY +if conf.ON_HEROKU: + from flask_sslify import SSLify + sslify = SSLify(app) + ALLOWED_EXTENSIONS = set(['xml', 'opml', 'json']) def allowed_file(filename): |