1
0
Fork 0
forked from OpenNeo/impress
impress/src
Matchu a14bc9bebd Fix Vary header for CORS
Oops, we added behavior that varies the CORS response headers according to the incoming `Origin` header, but we forgot to add `Vary: Origin`!

This doesn't cause an issue for the app when you make requests to the server directly, but since it's behind a Fastly cache layer, we ended up caching responses that didn't include CORS headers but should have.

Now, this will instruct the Fastly cache to treat requests with different `Origin` headers as being entirely different. (This means we won't be sharing caches between requests from impress-2020 and the Rails app anymore, but that should be okay in practice!)
2023-10-12 14:58:26 -07:00
..
app Add a big callout link about the State of DTI message 2023-02-04 23:59:18 -08:00
server Fix Vary header for CORS 2023-10-12 14:58:26 -07:00
shared Logic & comment updates to #30 2022-12-22 18:58:49 -08:00
react-app-env.d.ts Finally finish TS setup, build works! 2021-02-02 21:38:57 -08:00