forked from rDrama/rDrama
1
0
Fork 0
master
Aevann 2024-02-01 21:46:25 +02:00
parent ec1366fe9b
commit 65d85c5991
1 changed files with 10 additions and 0 deletions

View File

@ -432,3 +432,13 @@ def donate(v):
@auth_required
def orgy(v):
return redirect("/chat")
if SITE == 'watchpeopledie.tv':
@app.get("/1706708037797343.mp4")
@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400)
@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400, key_func=get_ID)
@auth_required
def geoblock(v):
if request.headers.get("Cf-Ipcountry") == 'AU':
abort(403)
return send_file('/videos/1706708037797343.mp4')