diff --git a/app.py b/app.py index 3cece754..0b515a82 100644 --- a/app.py +++ b/app.py @@ -10,8 +10,8 @@ ROOT = os.path.join(DIR, 'docs', '_build', 'html') app = Flask(__name__) -#if 'DYNO' in os.environ: -# sslify = SSLify(app) +if 'DYNO' in os.environ: + sslify = SSLify(app) @app.route('/') def static_proxy(path): @@ -23,10 +23,6 @@ def index_redirection(): """Redirecting index file""" return send_from_directory(ROOT, 'index.html') -@app.route('/.well-known/acme-challenge/vuLDuBTExCes4W2oxhGr9ZAl255JaQ3M-sskGhc5kP8') -def letsencrypt(): - return "vuLDuBTExCes4W2oxhGr9ZAl255JaQ3M-sskGhc5kP8.1MQ2tN97oDMCS6VnIiDMXAjUQwpiEoyNT2mUiGLhR7o" - if __name__ == "__main__": app.run(debug=True)