Change all "api" URLs. Ideally the path prefix would be an option.

This commit is contained in:
Simo Kinnunen
2014-12-17 21:29:51 +09:00
parent 436fa6eff9
commit b2e114c9be
14 changed files with 28 additions and 29 deletions

View File

@@ -15,7 +15,7 @@ module.exports = syrup.serial()
var resolver = Promise.defer()
var req = request.post({
url: util.format('%sapi/v1/s/%s', options.storageUrl, type)
url: util.format('%ss/api/v1/%s', options.storageUrl, type)
}
, function(err, res, body) {
if (err) {