forked from MarseyWorld/MarseyWorld
fix 500 error
parent
f2b431aa1a
commit
da74025c0e
|
@ -36,7 +36,7 @@ typing = {}
|
||||||
|
|
||||||
cache.set('loggedin_chat', 0, timeout=86400)
|
cache.set('loggedin_chat', 0, timeout=86400)
|
||||||
|
|
||||||
def get_request_referrer():
|
def get_referrer():
|
||||||
if '?m=' in request.referrer:
|
if '?m=' in request.referrer:
|
||||||
return request.referrer.split("?m=")[0]
|
return request.referrer.split("?m=")[0]
|
||||||
return request.referrer
|
return request.referrer
|
||||||
|
|
Loading…
Reference in New Issue