aprs.me/lib/aprsme_web/plugs
Graham McIntire dade93ee5c
Implement Sentry JavaScript integration with proper CSP configuration
- Restored Sentry JavaScript SDK script tag
- Created custom ContentSecurityPolicy plug to allow Sentry domains
- Added proper CSP headers allowing:
  - js.sentry-cdn.com for the SDK
  - *.ingest.sentry.io and *.sentry.io for error reporting
- Initialized Sentry in app.js with:
  - Proper DSN configuration
  - Browser tracing integration
  - 10% transaction sampling rate
  - Filter for non-critical ResizeObserver errors
- Added CSP plug to router pipeline after put_secure_browser_headers

This properly integrates Sentry for JavaScript error tracking while
maintaining security through explicit CSP configuration.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 15:17:35 -05:00
..
api_csrf.ex performance improvements 2025-07-08 10:03:52 -05:00
content_security_policy.ex Implement Sentry JavaScript integration with proper CSP configuration 2025-07-18 15:17:35 -05:00
ip_geolocation.ex badpackets formatting 2025-07-12 08:02:51 -05:00
rate_limiter.ex update deps 2025-07-16 08:20:20 -05:00
set_locale.ex passing tests 2025-07-07 16:29:38 -05:00