forked from rDrama/rDrama
/bm
parent
c07f81d0ca
commit
2184ff7fb6
|
@ -1366,10 +1366,12 @@ def gumroad():
|
||||||
def bm():
|
def bm():
|
||||||
data = json.loads(request.data)
|
data = json.loads(request.data)
|
||||||
ip = request.headers.get('CF-Connecting-IP')
|
ip = request.headers.get('CF-Connecting-IP')
|
||||||
print(ip, flush=True)
|
|
||||||
|
|
||||||
# if ip != '3.23.31.237':
|
if ip not in {'54.187.174.169','54.187.205.235','54.187.216.72'}:
|
||||||
# return ''
|
print(STARS, flush=True)
|
||||||
|
print(f'/bm fail: {ip}')
|
||||||
|
print(STARS, flush=True)
|
||||||
|
abort(400)
|
||||||
|
|
||||||
data = data['data']['object']
|
data = data['data']['object']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue