Next.js Discord

Discord Forum

Cors, NextJS middleware

Unanswered
Neotropic Cormorant posted this in #help-forum
Open in Discord
Neotropic CormorantOP
Hi, I'm trying to limit the origins of api requests with cors, I've followed the documentation on the nextJS documentation, but it always returns null or empty strings,
if someone can help me to solve this problem, it would help me a lot.

thank you in advance

0 Replies