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

feat(familie-backend/headers.ts): legg til Nav telemetry URL-er i CSP… #1586

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

GardOS
Copy link
Contributor

@GardOS GardOS commented Nov 1, 2024

… headers

Nødvendig for å samle inn telemetri i appene våre

… headers

Nødvendig for å samle inn telemetri i appene våre

const cspString = `default-src 'self' data: ${amplitude} ${sentry}; style-src 'self' ${styleSource} data: 'unsafe-inline'; font-src 'self' ${fontSource} ${navFontSource} data:; frame-src 'self' blob:;`;
const cspString = `default-src 'self' data: ${amplitude} ${sentry} ${navTelemetry} ${navTelemetryDev}; style-src 'self' ${styleSource} data: 'unsafe-inline'; font-src 'self' ${fontSource} ${navFontSource} data:; frame-src 'self' blob:;`;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Er ikke helt heldig å stappe inn begge to hver gang, men kom ikke frem til en god måte å finne nåværende miljø når det er et fellesbibliotek. Åpen for innspill

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Er enig, dette er enkleste løsning, som sannsynligvis er beste løsning ☺️

@GardOS GardOS marked this pull request as ready for review November 1, 2024 12:48
Copy link

@hanneolsen hanneolsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GardOS GardOS merged commit b5b978c into main Nov 4, 2024
3 checks passed
@GardOS GardOS deleted the telemetry-i-csp branch November 4, 2024 14:04
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