forked from rDrama/rDrama
1
0
Fork 0

print-debugging

master
Aevann 2023-10-05 17:45:30 +03:00
parent b012d141e5
commit 7ff7b29249
1 changed files with 1 additions and 0 deletions

View File

@ -1337,6 +1337,7 @@ if KOFI_TOKEN:
def kofi():
data = json.loads(request.values['data'])
verification_token = data['verification_token']
print(verification_token, flush=True)
if verification_token not in {KOFI_TOKEN, KOFI_TOKEN2}: abort(400)
print(request.headers.get('CF-Connecting-IP'), flush=True)