mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
rename uploading routes
This commit is contained in:
parent
90f89e4498
commit
ea52927eec
@ -266,14 +266,14 @@ let FileUploader = React.createClass({
|
|||||||
fileClass: 'contract'
|
fileClass: 'contract'
|
||||||
}}
|
}}
|
||||||
createBlobRoutine={{
|
createBlobRoutine={{
|
||||||
url: ApiUrls.ownership_contract
|
url: ApiUrls.blob_otherdatas
|
||||||
}}
|
}}
|
||||||
validation={{
|
validation={{
|
||||||
itemLimit: 100000,
|
itemLimit: 100000,
|
||||||
sizeLimit: '50000000'
|
sizeLimit: '50000000'
|
||||||
}}
|
}}
|
||||||
session={{
|
session={{
|
||||||
endpoint: ApiUrls.ownership_contract,
|
endpoint: ApiUrls.blob_otherdatas,
|
||||||
customHeaders: {
|
customHeaders: {
|
||||||
'X-CSRFToken': getCookie(AppConstants.csrftoken)
|
'X-CSRFToken': getCookie(AppConstants.csrftoken)
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user