[solved] CORS Error on local development with NextJS and Supabase
heyho, I've a question regarding supabase local development CORS policy.
My nextjs App is on localhost:3000 and supabase local docker container on localhost:5432X.
Everytime I make a request for data, or try to use the signup functions i get a CORS related error:
And I really can't get my head around that, I don't find any documentation or help to get my request get trough on local development.
If I use the DB directly from a supabase URL, f.ex.:
The request I make for example, to login is like that:
Can somebody tell me what I do wrong here?
My nextjs App is on localhost:3000 and supabase local docker container on localhost:5432X.
Everytime I make a request for data, or try to use the signup functions i get a CORS related error:
And I really can't get my head around that, I don't find any documentation or help to get my request get trough on local development.
If I use the DB directly from a supabase URL, f.ex.:
https://xxx.supabase.co it works just fine. But i really want to operate directly on a local environment and not use the web application for my app at the moment. The request I make for example, to login is like that:
Can somebody tell me what I do wrong here?