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

Set content security policy header for vite server #699

Conversation

hvangeffen
Copy link
Collaborator

Closes #698

On Firefox seems to state that eval was blocked:
image
but the program still seems to function.

On edge and chrome this is not shown.

@hvangeffen hvangeffen requested a review from wkramer February 14, 2024 09:00
@hvangeffen hvangeffen self-assigned this Feb 14, 2024
@wkramer wkramer merged commit 25c4812 into main Feb 14, 2024
6 of 8 checks passed
@wkramer wkramer deleted the 698-vite-server-should-have-contentsecuritypolicy-header-set-for-development branch February 14, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vite server should have contentSecurityPolicy header set for development
2 participants