Vite overwrite the Access-Control-Allow-Origin
from the CORS module
#13
Labels
bug
Something isn't working
Access-Control-Allow-Origin
from the CORS module
#13
Package version
3.0.0-8
Describe the bug
Hello,
I'm using the CORS module this the setting
origin
totrue
. In the same time, I'm fetching my server, from another domain, with thewithCredentials
to true. The browser use a preflight request but the server return*
instead of the domain that fetch the server. This cause an issue because it's forbidden.similar to o nuxt/nuxt#23962
Reproduction repo
No response
The text was updated successfully, but these errors were encountered: