From 3f4b92f62939bf3cbdc191cd65d03f8e76760e9e Mon Sep 17 00:00:00 2001 From: chang-ning Date: Sat, 22 Dec 2018 07:06:31 +0800 Subject: [PATCH] use 301 redirect Signed-off-by: chang-ning --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 4e16fd92..2dfc8d38 100644 --- a/app.py +++ b/app.py @@ -60,7 +60,7 @@ def find_key(token): ) if "DYNO" in os.environ: - sslify = SSLify(app, skips=[".well-known"]) + sslify = SSLify(app, permanent=True, skips=[".well-known"]) @app.errorhandler(404)