Skip to content

Commit

Permalink
Allow requests to build registry (for bazel module versions) (#8052)
Browse files Browse the repository at this point in the history
  • Loading branch information
siggisim authored Dec 12, 2024
1 parent 20d39cc commit a9f9b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/http/interceptors/interceptors.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func getContentSecurityPolicyHeaderValue(nonce string) string {
"base-uri 'none'",
"block-all-mixed-content",
// libsodium.js requires data: for wasm.
"connect-src 'self' data: https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com " + strings.Join(regionConnectSrcs, " "),
"connect-src 'self' data: https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com https://registry.build " + strings.Join(regionConnectSrcs, " "),
"report-to " + contentSecurityPolicyReportingEndpointName,
"report-uri " + csp.ReportingEndpoint,
// libsodium.js requires 'wasm-unsafe-eval' to avoid a fallback to asm.js.
Expand Down

0 comments on commit a9f9b87

Please sign in to comment.