NextJS API .includes() does not work?
Unanswered
Whiteleg shrimp posted this in #help-forum
Whiteleg shrimpOP
i have a req.headers.host that i want to check if it includes the word "apple". It will not work. It works locally, but when i publish it to vercel. It will throw false, even though console.log(req.headers.host) === "apple.com" ?. Any fixes or insights?