|
|
|
@ -7,7 +7,7 @@ import time
|
|
|
|
|
|
|
|
|
|
# Easy debug
|
|
|
|
|
from icecream import ic
|
|
|
|
|
#ic.disable() # Turn off
|
|
|
|
|
ic.disable() # Turn off
|
|
|
|
|
|
|
|
|
|
# Limit for requests
|
|
|
|
|
LTIME = cur_time = time.monotonic()
|
|
|
|
@ -115,7 +115,7 @@ class RequestHandler(BaseHTTPRequestHandler):
|
|
|
|
|
# Admin's token
|
|
|
|
|
if token[0] == tokens["admin"][0]:
|
|
|
|
|
pass
|
|
|
|
|
elif token[0] in tokens["premium"] and len(params) < 10000:
|
|
|
|
|
elif token[0] in tokens["premium"] and len(params) < 13400:
|
|
|
|
|
pass
|
|
|
|
|
else:
|
|
|
|
|
return 0
|
|
|
|
|