-
-
Notifications
You must be signed in to change notification settings - Fork 51
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: Example allows manifest from self #365
Conversation
MichalBryxi
commented
Apr 16, 2024
- Given example is quite handy starting copy&paste.
- Unfortunatelly for Chrome with modern Ember apps it gives:
- This patch makes the README as a nicer starting point.
I'm wondering if we should update the default configuration as well: https://github.com/rwjblue/ember-cli-content-security-policy/blob/b6c3e093203acdba8b954442e49c0e91a6d25478/lib/utils.js#L73-L87 and https://github.com/rwjblue/ember-cli-content-security-policy/blob/b6c3e093203acdba8b954442e49c0e91a6d25478/README.md?plain=1#L94-L116 |
Good point @jelhan. Added. |
Not sure why the CI gods are angry ... |
It seems to fail due to Prettier formatting:
|
154f437
to
1fa3569
Compare
- Given example is quite handy starting copy&paste. - Unfortunatelly for Chrome with modern Ember apps it gives: ``` assessment:1 Refused to load manifest from 'http://localhost:4200/manifest.webmanifest' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'manifest-src' was not explicitly set, so 'default-src' is used as a fallback. ``` - This patch makes the README as a nicer starting point.
Even change in Readme would mean running CI, which is borked now. Just going to close this for now. |