Minor route pattern improvement

This commit is contained in:
Petr Sloup 2016-12-05 23:21:31 +01:00
parent 9d362a5b5e
commit bcac161a25

View File

@ -446,7 +446,7 @@ module.exports = function(options, repo, params, id, dataResolver) {
};
var staticPattern =
'/static/:raw([\\w]+)?/%s/:width(\\d+)x:height(\\d+)' +
'/static/:raw(raw)?/%s/:width(\\d+)x:height(\\d+)' +
':scale(' + SCALE_PATTERN + ')?\.:format([\\w]+)';
var centerPattern =