Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add secure upload as well

  • Loading branch information...
commit 8f3a0a6cedac2d23a1662c130f23bd29260a3f83 1 parent fe426be
@posativ authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  regenwolken/views.py
View
2  regenwolken/views.py
@@ -189,7 +189,7 @@ def items_new():
key = current_app.sessions.new(request.authorization.username)
- res = { "url": 'http://' + current_app.config['HOSTNAME'],
+ res = { "url": urlscheme(request) + '://' + current_app.config['HOSTNAME'],
"max_upload_size": current_app.config['MAX_CONTENT_LENGTH'],
"params": { "acl": privacy,
"key": key
Please sign in to comment.
Something went wrong with that request. Please try again.