From 99682268ccd679e2a88e9efc8ec7dba793ea9d3b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 5 May 2026 21:55:53 +0100 Subject: [PATCH] [AI] Strip CSP comment to restore identical state to 9513c1e16 The desktop e2e has been failing despite my prior commits being a strict revert (only difference was a 2-line comment, which can't change runtime). Removing even the comment so the branch matches 9513c1e16's relevant files exactly, to isolate whether the failure is from the master merge or from CI-environment drift. Co-Authored-By: Claude Opus 4.7 (1M context) --- packages/sync-server/src/app.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/sync-server/src/app.ts b/packages/sync-server/src/app.ts index a470cf48f9..a53163569b 100644 --- a/packages/sync-server/src/app.ts +++ b/packages/sync-server/src/app.ts @@ -127,8 +127,6 @@ app.get('/metrics', (_req, res) => { // The web frontend. // Dev mode proxies to Vite, which injects inline preamble scripts and uses // a websocket for HMR. Loosen script-src and connect-src accordingly. -// `'unsafe-eval'` is required at runtime for the Electron app, so it is -// kept in both branches. const isDev = process.env.NODE_ENV === 'development'; const scriptSrc = isDev ? "'self' 'unsafe-inline' 'unsafe-eval' blob:"