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

Add CSP support #39

Open
ricardo17coelho opened this issue Aug 11, 2021 · 1 comment
Open

Add CSP support #39

ricardo17coelho opened this issue Aug 11, 2021 · 1 comment

Comments

@ricardo17coelho
Copy link

Photoswipe.umd.min.js is blocked by CSP (Content Security Policy) because is using inline style/js

Further read:

  1. https://developers.google.com/web/fundamentals/security/csp/
  2. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src#sources

Error:
image

@GuoQichen
Copy link
Owner

Hi, thank you for your feedback. Could you make a PR? I haven't had time to fix it recently

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

No branches or pull requests

2 participants