Rename path static map type to auto
This commit is contained in:
@@ -428,7 +428,7 @@ module.exports = function(options, repo, params, id) {
|
|||||||
res, next, overlay);
|
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) {
|
app.get(util.format(staticPattern, pathPattern), function(req, res, next) {
|
||||||
var path = extractPathFromQuery(req.query);
|
var path = extractPathFromQuery(req.query);
|
||||||
|
|||||||
Reference in New Issue
Block a user