mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Change all "api" URLs. Ideally the path prefix would be an option.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user