mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactor(load) put: prefix
This commit is contained in:
parent
4c7de2edc5
commit
f1ec9fadb6
1 changed files with 3 additions and 2 deletions
|
|
@ -220,8 +220,9 @@
|
|||
load.put = function(url, body) {
|
||||
var emitter = Emitify(),
|
||||
prefix = CloudCmd.PREFIX,
|
||||
apiURL = prefix + CloudFunc.apiURL,
|
||||
api = apiURL + '/fs',
|
||||
apiURL = CloudFunc.apiURL,
|
||||
|
||||
api = prefix + apiURL + '/fs',
|
||||
xhr = new XMLHttpRequest();
|
||||
|
||||
url = encodeURI(url);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue