chore: remove ai tasks from experiment (#18511)

Closes https://github.com/coder/internal/issues/661
This commit is contained in:
Hugo Dutka
2025-06-24 16:24:01 +02:00
committed by GitHub
parent 45ab265df2
commit 4ff2254e5f
9 changed files with 8 additions and 27 deletions

View File

@ -1544,7 +1544,6 @@ func New(options *Options) *API {
// Add CSP headers to all static assets and pages. CSP headers only affect
// browsers, so these don't make sense on api routes.
cspMW := httpmw.CSPHeaders(
api.Experiments,
options.Telemetry.Enabled(), func() []*proxyhealth.ProxyHost {
if api.DeploymentValues.Dangerous.AllowAllCors {
// In this mode, allow all external requests.