Skip to content
Snippets Groups Projects
Commit fb8e2ca6 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Remove https from curl command.

parent 813048e8
No related branches found
No related tags found
1 merge request!72V0.7.1
...@@ -521,7 +521,7 @@ class UploadCommandResource(Resource): ...@@ -521,7 +521,7 @@ class UploadCommandResource(Resource):
def get(self): def get(self):
""" Get url and example command for shell based uploads. """ """ Get url and example command for shell based uploads. """
token = generate_upload_token(g.user) token = generate_upload_token(g.user)
upload_url = '%s/uploads/?token=%s' % (config.api_url(), token) upload_url = '%s/uploads/?token=%s' % (config.api_url(ssl=False), token)
upload_url_with_name = upload_url + '&name=<name>' upload_url_with_name = upload_url + '&name=<name>'
# upload_command = 'curl -X PUT "%s" -F file=@<local_file>' % upload_url # upload_command = 'curl -X PUT "%s" -F file=@<local_file>' % upload_url
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment