selimaj-devandclaude 9f06a83b64 Fix Firefox silently upgrading ws:// to wss:// against the dev backend
Firefox's implicit default extension-pages CSP includes
upgrade-insecure-requests, which rewrites the WS client's plain
ws://localhost:8080/ws connection to wss:// -- which nothing is
listening on, since the local dev backend has no TLS (deliberately;
see backend/CLAUDE.md). Symptom was silent: a CSP console message
about the upgrade, then a failed connection with no other signal.

Declaring an explicit content_security_policy.extension_pages in
wxt.config.ts (otherwise identical to Firefox's own default) replaces
the implicit one and drops the upgrade directive. Gated to
browser === 'firefox' since Chrome doesn't have this behavior and its
MV3 CSP can't be loosened this way regardless.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YXiHuScXrjxBh7yFGAPq3B
2026-09-07 13:17:02 +02:00
2026-09-06 11:44:59 +02:00
2026-09-06 04:27:03 +02:00
2026-09-06 04:27:03 +02:00

copilot

Your blockchain powered Agent to help with your trading emotions

S
Description
The blockchain-powered trading companion that helps you manage the emotional/behavioral side of trading
Readme Apache-2.0
185 KiB
2026-09-09 10:20:36 +00:00
Languages
TypeScript 91.1%
CSS 8.6%
HTML 0.3%