diff --git a/router/middleware/headers.go b/router/middleware/headers.go index eb4cc2bb2..f228c9b8a 100644 --- a/router/middleware/headers.go +++ b/router/middleware/headers.go @@ -9,7 +9,6 @@ import ( // SetHeaders will set our global headers for web resources. func SetHeaders(w http.ResponseWriter) { - // When running automated browser tests we must allow `unsafe-eval` in our CSP // so we can explicitly add it only when needed. inTest := os.Getenv("BROWSER_TEST") == "true"