forked from rDrama/rDrama
1
0
Fork 0

fix last commit

master
Aevann 2023-08-23 00:46:43 +03:00
parent 95c1dcf769
commit e30cc4a2b7
1 changed files with 2 additions and 1 deletions

View File

@ -107,7 +107,8 @@ def get_logged_in_user():
abort(403, "Site is in offline mode right now. It will be back shortly!")
g.v = v
g.vid = v.id
if v:
g.vid = v.id
if not v and SITE == 'rdrama.net' and request.headers.get("Cf-Ipcountry") == 'EG':
abort(404)