Brrrrr
Cors No 'Access-Control-Allow-Origin'
Hi, im working on a tcg project with oak and deno, but im getting this message: "Access to fetch at 'http://localhost:8000/users/6/cards' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
Here is how im handling the fetch
and here is what i have on my server.ts
Any advice would be appreciated
7 replies