3 ms·
I gave up on Cloudflare Workers after spending a full work day debugging CORS errors that the worker was throwing due to a logic error that was completely unrel
by newsbinator 5y ago
I gave up on Cloudflare Workers after spending a full work day debugging CORS errors that the worker was throwing due to a logic error that was completely unrelated to CORS.
You can only spend so many hours in your life tweaking and re-testing CORS headers for no reason.
Maybe Pages is better. I just don't want to touch Workers on the backend of Pages anymore.
- nevikashah 5y agoSorry to hear about your experience with Workers. Be sure to get in touch if you have more questions about it. If you'd like to try out Pages, we recently announced support for setting custom headers with an `_headers` file. Check out the announcement here(https://blog.cloudflare.com/custom-headers-for-pages/ https://blog.cloudflare.com/custom-headers-for-pages/). Docs are also linked in the blog!