WaspW
Wasp10mo ago
yalcinos

[Help] Getting CORS error on preflight request

I tried everything to fix this CORS error but if i try to access my backend server from different origin i get this cors error do you guys know why?

I tried different things to enable cors for all domains but didn't work

Like adding globalMiddleware or api level middle ware.

I have one backend endpoint that needs to work with all domains without getting cors error
image.png
Was this page helpful?