Oops, minor path regex fix
Escape those dots!
This commit is contained in:
parent
f932498066
commit
598858c084
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
||||||
{
|
{
|
||||||
"routes": [
|
"routes": [
|
||||||
{
|
{
|
||||||
"src": "/outfits/(?<id>[^/]+)/(?<size>150|300|600).png",
|
"src": "/outfits/(?<id>[^/]+)/(?<size>150|300|600)\\.png",
|
||||||
"dest": "/api/outfitImage.js?size=$size&id=$id"
|
"dest": "/api/outfitImage.js?size=$size&id=$id"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/outfits/(?<id>[^/]+)/v/(?<updatedAt>[^/]+)/(?<size>150|300|600).png",
|
"src": "/outfits/(?<id>[^/]+)/v/(?<updatedAt>[^/]+)/(?<size>150|300|600)\\.png",
|
||||||
"dest": "/api/outfitImage.js?size=$size&id=$id&updatedAt=$updatedAt"
|
"dest": "/api/outfitImage.js?size=$size&id=$id&updatedAt=$updatedAt"
|
||||||
},
|
},
|
||||||
{ "src": "/outfits/new(\\?|$)", "dest": "/index.html" },
|
{ "src": "/outfits/new(\\?|$)", "dest": "/index.html" },
|
||||||
|
|
Loading…
Reference in a new issue