-
In the past we have handled HTTP E.g., I can see the OPTIONS request for the following route logged by My end goal is adding the proper How could I debug this issue further? In particular, what handlers the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Did you manage to solve this? |
Beta Was this translation helpful? Give feedback.
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).