News for hackers. Stuff that matters.
Re:Cloudflare Pages goes full stack by newsbinator on Wednesday November 17, 2021 @07:40PM (#29260803)
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.

Re:Cloudflare Pages goes full stack by nevikashah on Thursday November 18, 2021 @12:55PM (#29268347)
Sorry 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/). Docs are also linked in the blog!