mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:53:23 +02:00
Make it a bit easier to tell image plugin endpoint apart from normal storage endpoints. It still sucks though.
This commit is contained in:
@@ -20,7 +20,7 @@ module.exports = function(options) {
|
||||
app.set('trust proxy', true)
|
||||
|
||||
app.get(
|
||||
'/s/api/v1/image/:id/*'
|
||||
'/s/api/v1/image/:id/*/transform'
|
||||
, requtil.limit(options.concurrency, function(req, res) {
|
||||
return get(req.url, options)
|
||||
.then(function(stream) {
|
||||
|
||||
Reference in New Issue
Block a user