CORS Galore: Using Nginx and Github Actions With Playwright

I was originally designing this project to use a single API service domain but for several reasons (mostly due to issues with CORS and sending credentials cross-domain, but also because it seems likely that third-party cookies might be going away entirely in the future) I have decided to mostly abandon that idea and instead opt for a, perhaps more classic, /api route on the same domain that serves that frontend application....

12 February 2023 · 8 min · 1526 words · Mario Finelli