This commit is contained in:
Mateusz779 2023-04-14 15:51:54 +02:00
parent a2a0452db8
commit a0be0e4fbc

2
app.py
View File

@ -173,7 +173,7 @@ def release_allocation():
def add_ip(): def add_ip():
try: try:
token = request.headers['token'] token = request.headers['token']
ip = request.data['ip'] ip = request.form['ip']
except: except:
pass pass
print(token, ip) print(token, ip)