Rename path static map type to auto

This commit is contained in:
Petr Sloup 2016-06-27 07:09:24 +02:00
parent 0b98651b48
commit 9d63634078

View file

@ -428,7 +428,7 @@ module.exports = function(options, repo, params, id) {
res, next, overlay);
});
var pathPattern = 'path/:width(\\d+)x:height(\\d+)';
var pathPattern = 'auto/:width(\\d+)x:height(\\d+)';
app.get(util.format(staticPattern, pathPattern), function(req, res, next) {
var path = extractPathFromQuery(req.query);