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

Feature/strict csp #80

Open
wants to merge 41 commits into
base: main
Choose a base branch
from
Open

Feature/strict csp #80

wants to merge 41 commits into from

Conversation

jesse-mm
Copy link
Contributor

@jesse-mm jesse-mm commented Sep 16, 2022

Enables strict CSP by default for development builds. This only applies for @pota created projects that use react / react-base / muban as template.

Most of the source is ported from mediamonks/cra-template#25, but modified to work with pota.

strict CSP isn't automatically enabled whenever running a build, so it's an opt-in solution. The CSP header as listed in the <meta http-equiv="Content-Security-Policy" ... /> should be added to server response as well.

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.

1 participant