Getting 404 when deployed to Vercel
Unanswered
Willow Ptarmigan posted this in #help-forum
Original message was deleted.
3 Replies
Willow Ptarmigan
what I also noticed, is that the following code returns nothing on Vercel, but works on localhost
new URL(
req.url.replace(regexPattern,
)
the formatting is off because of the discord formatting
new URL(
${locale}/app${path === "/" ? "" : path.replace(/\/(sk|en)/g, "")},req.url.replace(regexPattern,
${process.env.NEXT_PUBLIC_ROOT_DOMAIN}))
the formatting is off because of the discord formatting
could it be because of the
vercel.json file?