WaspW
Wasp3y ago
DimAss

API CORS error

Hi, I'm trying to fetch a PUT endpoint, but it throws a CORS error in the console (testing locally).
Frontend is on localhost:3000, backend is on localhost:3001
What am I doing wrong?
Screenshot_2023-07-03_at_23.13.18.png
Screenshot_2023-07-03_at_23.13.53.png
Screenshot_2023-07-03_at_23.42.45.png
Was this page helpful?