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

Update CORS headers to support PNA spec #753

Merged
merged 1 commit into from
Jan 9, 2023
Merged

Update CORS headers to support PNA spec #753

merged 1 commit into from
Jan 9, 2023

Conversation

k-yle
Copy link
Contributor

@k-yle k-yle commented Jan 8, 2023

Serve is currently broken in Microsoft Edge (strict mode), since Edge is trialling the rollout of the Private Network Access (PNA) spec. Chrome is planning on rolling this out soon, so it's only a matter of time before this affects more users.

These new headers allow non-localhost websites to make fetch requests to http://localhost

Copy link
Member

@leerob leerob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@leerob
Copy link
Member

leerob commented Jan 9, 2023

Would be awesome to add a test!

@leerob leerob merged commit 12d561f into vercel:main Jan 9, 2023
@k-yle k-yle deleted the patch-1 branch January 9, 2023 01:03
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.

None yet

2 participants