Merge branch 'oauth3' of git.daplie.com:Daplie/walnut_launchpad into jon/design2
This commit is contained in:
commit
5196f55629
|
@ -12,7 +12,10 @@ OAUTH3._pkgs['www@daplie.com'] = {
|
|||
method: 'POST'
|
||||
, url: OAUTH3.url.normalize(providerUri)
|
||||
+ '/api/www@daplie.com/acl/sites/' + opts.hostname
|
||||
+ '?' + OAUTH3.utils.query.stringify({ tld: opts.tld, sld: opts.sld/*, sub: opts.sub*/, unzip: opts.unzip, strip: opts.strip, path: opts.path })
|
||||
+ '?' + OAUTH3.utils.query.stringify({
|
||||
tld: opts.tld, sld: opts.sld/*, sub: opts.sub*/, unzip: opts.unzip
|
||||
, strip: opts.strip, path: opts.path
|
||||
})
|
||||
, session: session
|
||||
, multipart: opts.multipart // special property to be figured out by browser request code
|
||||
, progress: opts.progress
|
||||
|
@ -145,7 +148,10 @@ OAUTH3._pkgs['www@daplie.com'] = {
|
|||
method: 'DELETE'
|
||||
, url: OAUTH3.url.normalize(providerUri)
|
||||
+ '/api/www@daplie.com/acl/sites/' + opts.hostname
|
||||
+ '?' + OAUTH3.utils.query.stringify({ tld: opts.tld, sld: opts.sld/*, sub: opts.sub*/, path: opts.path })
|
||||
+ '?' + OAUTH3.utils.query.stringify({
|
||||
tld: opts.tld, sld: opts.sld/*, sub: opts.sub*/
|
||||
, path: opts.path, confirm: opts.confirm
|
||||
})
|
||||
, session: session
|
||||
, multipart: opts.multipart // special property to be figured out by browser request code
|
||||
}).then(function (result) {
|
||||
|
|
Loading…
Reference in New Issue