3 ms·
Yeah exactly; the headers are such a pain to set up!
by janpaul123 5y ago
Yeah exactly; the headers are such a pain to set up!
- chaosprint 5y agoI always encourage users to use vite, and it is quite easy for the dev server. https://github.com/vitejs/vite/issues/3909 https://github.com/vitejs/vite/issues/3909 For deployment it's a different story then but for example netlify has a quite intuitive way to set headers for CORS: https://github.com/padenot/ringbuf.js/blob/master/public/_headers https://github.com/padenot/ringbuf.js/blob/master/public/_he...