better error message

pull/225/head
Aevann 2024-03-22 17:01:30 +02:00
parent 03b3e690e4
commit aaedac1a28
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ def get_logged_in_user():
g.username = v.username
if not v and SITE == 'rdrama.net' and request.headers.get("Cf-Ipcountry") == 'EG':
abort(403, "rdrama.net is only available to visitors from the United States!")
abort(403, "rdrama.net is only available to visitors from the United States and Europe!")
g.is_api_or_xhr = bool((v and v.client) or request.headers.get("xhr"))