more debugging
This commit is contained in:
@@ -4406,6 +4406,8 @@ def workout_upload_api(request):
|
|||||||
except (KeyError,JSONDecodeError):
|
except (KeyError,JSONDecodeError):
|
||||||
post_data = request.POST
|
post_data = request.POST
|
||||||
|
|
||||||
|
print(post_data)
|
||||||
|
|
||||||
# only allow local host
|
# only allow local host
|
||||||
hostt = request.get_host().split(':')
|
hostt = request.get_host().split(':')
|
||||||
if hostt[0] not in ['localhost','127.0.0.1','dev.rowsandall.com','rowsandall.com']:
|
if hostt[0] not in ['localhost','127.0.0.1','dev.rowsandall.com','rowsandall.com']:
|
||||||
|
|||||||
Reference in New Issue
Block a user