Skip to content

fix(csp): resolves Content Security Policy violations + enables Worker observability#23

Merged
wgordon17 merged 2 commits intogordon-code:mainfrom
wgordon17:fix/csp-and-observability
Mar 27, 2026
Merged

fix(csp): resolves Content Security Policy violations + enables Worker observability#23
wgordon17 merged 2 commits intogordon-code:mainfrom
wgordon17:fix/csp-and-observability

Conversation

@wgordon17
Copy link
Copy Markdown
Member

Summary

  • Splits style-src into style-src-elem + style-src-attr (CSP Level 3) to allow Kobalte/corvu inline style attributes while blocking style tag injection
  • Adds data: to img-src for daisyUI SVG data URIs in CSS mask-image, excludes unused components (chat, mask, mockup)
  • Refactors all app-level inline styles to Tailwind classes and CSS custom properties to eliminate our own CSP violations

@wgordon17 wgordon17 merged commit 315833f into gordon-code:main Mar 27, 2026
1 check 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.

1 participant