dsfsdf
This commit is contained in:
parent
c6b3a85da2
commit
921c33892b
1 changed files with 1 additions and 1 deletions
|
@ -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 *
|
Loading…
Add table
Add a link
Reference in a new issue