forked from MarseyWorld/MarseyWorld
fdsfsd
parent
c32abcba84
commit
23a6bcc458
|
@ -121,11 +121,12 @@ def after_request(response):
|
||||||
response.headers.add("X-Frame-Options", "deny")
|
response.headers.add("X-Frame-Options", "deny")
|
||||||
return response
|
return response
|
||||||
|
|
||||||
@app.route("/<path:path>", subdomain="www")
|
@app.route("/", subdomain="<whatever>")
|
||||||
@app.route("/<path:path>", subdomain="old")
|
def sub_redirect(whatever):
|
||||||
@app.route("/", subdomain="www")
|
return redirect(request.full_path)
|
||||||
@app.route("/", subdomain="old")
|
|
||||||
def sub_redirect(path):
|
@app.route("/<path:path>", subdomain="<whatever>")
|
||||||
|
def sub_redirect(path, whatever):
|
||||||
return redirect(request.full_path)
|
return redirect(request.full_path)
|
||||||
|
|
||||||
from files.routes import *
|
from files.routes import *
|
Loading…
Reference in New Issue