Followed the instructions [here][1] to run an express server but I’m dealing with CORS errors when calling the backend via my next js app.
How can I make this work? Suggestions for alternate deployment strategies would be appreciated too.
Solutions I’ve tried unsuccessfully:
-
Adding this to the middleware
-
Following this to modify my vercel.json
How can I make this work or use an alternate deployment strategy?