bug fixes
This commit is contained in:
@@ -4406,7 +4406,6 @@ def workout_upload_api(request):
|
||||
except (KeyError,JSONDecodeError):
|
||||
post_data = request.POST
|
||||
|
||||
|
||||
# only allow local host
|
||||
hostt = request.get_host().split(':')
|
||||
if hostt[0] not in ['localhost','127.0.0.1','dev.rowsandall.com','rowsandall.com']:
|
||||
@@ -4491,6 +4490,7 @@ def workout_upload_api(request):
|
||||
makeprivate=makeprivate,
|
||||
title = t,
|
||||
notes=notes,
|
||||
uploadoptions=post_data,
|
||||
)
|
||||
|
||||
if id == 0:
|
||||
|
||||
Reference in New Issue
Block a user