master
Aevann1 2021-12-23 18:40:57 +02:00
parent a9b198dd9a
commit 0deafec6a3
1 changed files with 1 additions and 1 deletions

View File

@ -128,6 +128,6 @@ def after_request(response):
@app.route("/", subdomain="www") @app.route("/", subdomain="www")
@app.route("/", subdomain="old") @app.route("/", subdomain="old")
def sub_redirect(path): def sub_redirect(path):
return redirect(f"https://{app.config['SERVER_NAME']}{request.full_path}") return redirect(request.full_path)
from files.routes import * from files.routes import *