mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
chore: remove meticulous from CI (#14369)
This commit is contained in:
@ -59,7 +59,7 @@ func CSPHeaders(telemetry bool, websocketHosts func() []string) func(next http.H
|
||||
cspDirectiveConnectSrc: {"'self'"},
|
||||
cspDirectiveChildSrc: {"'self'"},
|
||||
// https://github.com/suren-atoyan/monaco-react/issues/168
|
||||
cspDirectiveScriptSrc: {"'self' "},
|
||||
cspDirectiveScriptSrc: {"'self'"},
|
||||
cspDirectiveStyleSrc: {"'self' 'unsafe-inline'"},
|
||||
// data: is used by monaco editor on FE for Syntax Highlight
|
||||
cspDirectiveFontSrc: {"'self' data:"},
|
||||
@ -88,11 +88,6 @@ func CSPHeaders(telemetry bool, websocketHosts func() []string) func(next http.H
|
||||
if telemetry {
|
||||
// If telemetry is enabled, we report to coder.com.
|
||||
cspSrcs.Append(cspDirectiveConnectSrc, "https://coder.com")
|
||||
// These are necessary to allow meticulous to collect sampling to
|
||||
// improve our testing. Only remove these if we're no longer using
|
||||
// their services.
|
||||
cspSrcs.Append(cspDirectiveConnectSrc, meticulousConnectSrc...)
|
||||
cspSrcs.Append(cspDirectiveScriptSrc, meticulousScriptSrc...)
|
||||
}
|
||||
|
||||
// This extra connect-src addition is required to support old webkit
|
||||
@ -136,8 +131,3 @@ func CSPHeaders(telemetry bool, websocketHosts func() []string) func(next http.H
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
var (
|
||||
meticulousConnectSrc = []string{"https://cognito-identity.us-west-2.amazonaws.com", "https://user-events-v3.s3-accelerate.amazonaws.com", "*.sentry.io"}
|
||||
meticulousScriptSrc = []string{"https://snippet.meticulous.ai", "https://browser.sentry-cdn.com"}
|
||||
)
|
||||
|
Reference in New Issue
Block a user