Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: preflight cors + caching + new route #68

Merged
merged 2 commits into from
Jan 13, 2025
Merged

Conversation

fforbeck
Copy link
Member

@fforbeck fforbeck commented Jan 13, 2025

Changes

  • Added Access-Control-Max-Age to prevent the browser from performing frequent preflight requests.
  • Added Vary: Origin to ensure that cached responses differentiate between different origins.
  • Added new routes https://w3s.link/ and https://w3s-staging.link/ to the workers.

@fforbeck fforbeck force-pushed the fix/preflight-cors-2 branch from 12b078c to 48dfdc9 Compare January 13, 2025 17:05
@fforbeck fforbeck changed the title fix: preflight cors + caching fix: preflight cors + caching + new route Jan 13, 2025
@fforbeck fforbeck merged commit 0e18daa into main Jan 13, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants