remotes/1693045480750635534/spooky-22
Aevann1 2021-08-19 17:56:09 +02:00
parent cba13835e2
commit cbaad71a8c
1 changed files with 1 additions and 7 deletions

View File

@ -257,9 +257,3 @@ def after_request(response):
response.headers.add("X-Frame-Options", "deny")
return response
@app.route("/<path:path>", subdomain="www")
def www_redirect(path):
return redirect(f"https://{app.config['SERVER_NAME']}/{path}")