Skip to content
Discussion options

You must be logged in to vote

I've found a Vite option, server: { cors: { preflightContinue: true } }, which fixes this issue. I'm not sure if this is the intended way to handle OPTIONS requests, and I also don't know why this just came up now (we've been handling OPTIONS requests in this project before without issues and without this Vite option set).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@geiszla
Comment options

Answer selected by geiszla
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants