mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-06 07:01:45 -05:00
[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) <noreply@anthropic.com>
This commit is contained in:
@@ -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:"
|
||||
|
||||
Reference in New Issue
Block a user