Good day guys.
I wanna ask for advices about how deploy a worker API that I implemented using D1 as storage and a react SPA built using vite, that I used to serve using express.js.
1 - Is it good to deploy the worker as is and in parallel the react SPA in pages? Will this be ok?
2- Will this need cors whitelist or something?
3 -Will be better to serve the SPA using getAssetFromKV from '@Cloudflare/kv-asset-handler'?
4- Will using functions will be better for my case?
I'm reading now about Workers Sites, will this be an option?