vxccxv
This commit is contained in:
parent
b1861ea0c7
commit
e4d2476c0c
1 changed files with 1 additions and 1 deletions
|
@ -574,7 +574,7 @@ def award_comment(cid, v):
|
||||||
if v.id == 1: print(request.referrer)
|
if v.id == 1: print(request.referrer)
|
||||||
if request.referrer and len(request.referrer) > 1 and (request.referrer.startswith('/') or request.referrer.startswith(request.host_url)):
|
if request.referrer and len(request.referrer) > 1 and (request.referrer.startswith('/') or request.referrer.startswith(request.host_url)):
|
||||||
return redirect(request.referrer)
|
return redirect(request.referrer)
|
||||||
if v.id == 1: print('host: ' request.host_url)
|
if v.id == 1: print('host: ' + request.host_url)
|
||||||
return redirect("/")
|
return redirect("/")
|
||||||
|
|
||||||
@app.get("/admin/awards")
|
@app.get("/admin/awards")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue