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

@@ -20,7 +20,7 @@ module.exports = function(options) {
app.set('trust proxy', true)
app.get(
'/api/v1/s/image/:id/*'
'/s/api/v1/image/:id/*'
, requtil.limit(options.concurrency, function(req, res) {
return get(req.url, options)
.then(function(stream) {