4 ms·
That would be a smart move as SAB also requires CORS now, which adds more trouble for getting started. It can be a feature to keep for some context that really
by chaosprint 5y ago
That would be a smart move as SAB also requires CORS now, which adds more trouble for getting started. It can be a feature to keep for some context that really needs to get rid of GC such as audio.
- janpaul123 5y agoYeah 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...