Deploy #152 to stage — SyntaxError fix + CSP expansion #153

Merged
will.anderson merged 2 commits from dev into stage 2026-05-19 17:13:59 +00:00
Owner

Deploys PR #152 to stage.

  • Fix SyntaxError in account-dashboard (auth buttons broken)
  • Expand CSP to allow Stripe JS/iframe, Google Fonts CSS/files
Deploys PR #152 to stage. - Fix SyntaxError in account-dashboard (auth buttons broken) - Expand CSP to allow Stripe JS/iframe, Google Fonts CSS/files
will.anderson added 2 commits 2026-05-19 17:13:51 +00:00
Fix SyntaxError in account-dashboard and expand CSP
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 1m37s
d2ae0b4b60
Replace ternary operator in native_js block with explicit if-else —
El's parser chokes on '?' adjacent to single-quoted strings inside
native_js(), causing an Uncaught SyntaxError that prevents the entire
IIFE from running and leaves signInWith undefined.

Add missing CSP entries to all three header functions:
- js.stripe.com → script-src and frame-src (Stripe JS and Elements iframe)
- fonts.googleapis.com → style-src (Google Fonts CSS)
- fonts.gstatic.com → font-src (Google Fonts files)
- static.cloudflareinsights.com → script-src (Cloudflare beacon)
will.anderson merged commit a02ad7b61a into stage 2026-05-19 17:13:59 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/neuron-web#153