mailship/web
Agent 57f7d94669 fix: guard normalizeRelayUrl against undefined env var
The web UI crashed on load when VITE_NOTIFIER_RELAY was not set
because normalizeRelayUrl(undefined) calls url.match(...) on the
undefined argument, producing:
  TypeError: can't access property 'match', A is undefined

Fix: guard with a truthy check before calling normalizeRelayUrl,
and early-return from loadAlerts when NOTIFIER_RELAY is undefined.

Fixes bead mailship-4ic
2026-08-24 18:21:00 -04:00
..
src fix: guard normalizeRelayUrl against undefined env var 2026-08-24 18:21:00 -04:00
.env.template Initial mailship fork from anchor 2026-08-18 12:21:22 -04:00
.gitignore Initial mailship fork from anchor 2026-08-18 12:21:22 -04:00
eslint.config.js Initial mailship fork from anchor 2026-08-18 12:21:22 -04:00
index.html Initial mailship fork from anchor 2026-08-18 12:21:22 -04:00
package.json Initial mailship fork from anchor 2026-08-18 12:21:22 -04:00
pnpm-lock.yaml Initial mailship fork from anchor 2026-08-18 12:21:22 -04:00
pnpm-workspace.yaml Fix docker build 2026-08-24 15:45:40 -04:00
tsconfig.json Initial mailship fork from anchor 2026-08-18 12:21:22 -04:00
vite.config.js Initial mailship fork from anchor 2026-08-18 12:21:22 -04:00