Minor route pattern improvement
This commit is contained in:
parent
9d362a5b5e
commit
bcac161a25
1 changed files with 1 additions and 1 deletions
|
@ -446,7 +446,7 @@ module.exports = function(options, repo, params, id, dataResolver) {
|
||||||
};
|
};
|
||||||
|
|
||||||
var staticPattern =
|
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]+)';
|
':scale(' + SCALE_PATTERN + ')?\.:format([\\w]+)';
|
||||||
|
|
||||||
var centerPattern =
|
var centerPattern =
|
||||||
|
|
Loading…
Reference in a new issue