dont use absolute url for upload, fixes #1939
This commit is contained in:
parent
d7953540e5
commit
d7d5008bbb
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ def firefogg_upload(request):
|
|||
if f.item.rendered and f.selected:
|
||||
Item.objects.filter(id=f.item.id).update(rendered=False)
|
||||
response = {
|
||||
'uploadUrl': request.build_absolute_uri('/api/upload/?id=%s&profile=%s' % (f.oshash, profile)),
|
||||
'uploadUrl': '/api/upload/?id=%s&profile=%s' % (f.oshash, profile),
|
||||
'url': request.build_absolute_uri('/%s' % f.item.itemId),
|
||||
'result': 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue