Closed
Description
Which Cloudflare product(s) does this pertain to?
Vite Plugin
What versions & operating system are you using?
4.10.0
Please provide a link to a minimal reproduction
No response
Describe the Bug
my worker sets CORS preflight headers, but these are not respected by vite - I needed to configure server.cors
options to my vite.config.ts
to get this to work.
It seems like vite is intercepting OPTIONS
requests rather than delivering them to the worker, so the worker isn't able to respond to them
Please provide any relevant error logs
No response
Metadata
Metadata
Assignees
Type
Projects
Status
Done