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 img.shields.io as image source to CSP headers #32

Merged

Conversation

recursivetree
Copy link
Contributor

from @Kiba from discord:

With the Traefik config, the CSP doesn't allow images from https://img.shields.io which is where the admin portal gets its packagist version images for embedding, I was getting some broken images with the original configuration that is part of the default Traefik config provided. Was a pretty simple fix of adding https://img.shields.io to the img-src section of the Traefik traefik.http.middlewares.seat-security.headers.contentSecurityPolicy config.

@recursivetree
Copy link
Contributor Author

ci failures are unrelated

@Crypta-Eve Crypta-Eve merged commit 589d6fb into eveseat:master Dec 26, 2023
1 of 7 checks passed
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.

2 participants