Commit fb8e2ca6 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Remove https from curl command.

parent 813048e8
......@@ -521,7 +521,7 @@ class UploadCommandResource(Resource):
def get(self):
""" Get url and example command for shell based uploads. """
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_command = 'curl -X PUT "%s" -F file=@<local_file>' % upload_url
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment