From 598858c0844f64e1b00e377806809e0d17ebdcaa Mon Sep 17 00:00:00 2001 From: Matchu Date: Thu, 27 May 2021 18:41:01 -0700 Subject: [PATCH] Oops, minor path regex fix Escape those dots! --- vercel.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vercel.json b/vercel.json index 1b624f9..dceed97 100644 --- a/vercel.json +++ b/vercel.json @@ -1,11 +1,11 @@ { "routes": [ { - "src": "/outfits/(?[^/]+)/(?150|300|600).png", + "src": "/outfits/(?[^/]+)/(?150|300|600)\\.png", "dest": "/api/outfitImage.js?size=$size&id=$id" }, { - "src": "/outfits/(?[^/]+)/v/(?[^/]+)/(?150|300|600).png", + "src": "/outfits/(?[^/]+)/v/(?[^/]+)/(?150|300|600)\\.png", "dest": "/api/outfitImage.js?size=$size&id=$id&updatedAt=$updatedAt" }, { "src": "/outfits/new(\\?|$)", "dest": "/index.html" },