diff --git a/lib/units/storage/plugins/image/index.js b/lib/units/storage/plugins/image/index.js index 6bd3e596..5eb436f8 100644 --- a/lib/units/storage/plugins/image/index.js +++ b/lib/units/storage/plugins/image/index.js @@ -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) { diff --git a/res/app/control-panes/screenshots/screenshots-controller.js b/res/app/control-panes/screenshots/screenshots-controller.js index 7afe1249..f895e55f 100644 --- a/res/app/control-panes/screenshots/screenshots-controller.js +++ b/res/app/control-panes/screenshots/screenshots-controller.js @@ -16,7 +16,7 @@ module.exports = function ScreenshotsCtrl($scope) { var finalMaxSize = maxSize * multiplier return (finalSize === finalMaxSize) ? '' : - '?crop=' + finalSize + 'x' + '/transform?crop=' + finalSize + 'x' } $scope.takeScreenShot = function () {