forked from rDrama/rDrama
vxccxv
parent
7d4c959c47
commit
5f9c17754c
|
@ -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…
Reference in New Issue