8 Commits
Author SHA1 Message Date
Steven RYDELL face5b4161 fix(dev): respect $PORT env var in vite.config.ts
Preview/dev tooling that assigns a free port via $PORT (because the
project's usual 5173 is taken) had no way to make Vite actually bind
there — Vite ignores PORT by default and falls back to its own
auto-increment, so the dev server would come up on a different port
than the one the tooling proxied to.
2026-08-01 21:58:34 +02:00
Steven RYDELL eda9c9c8bf fix: remove PWA service worker that breaks Stalwart /admin and /account mounts 2026-07-30 18:30:36 +02:00
Steven RYDELLandClaude Sonnet 5 da2c99990f feat: add PWA support (manifest, service worker, icons)
Adds vite-plugin-pwa with a generated manifest, icon set derived from
the Stalwart mark (192/512/maskable/apple-touch), and theme-color meta
tags. /api and /jmap are excluded from the service worker's navigate
fallback and are never precached or runtime-cached, so authenticated
mail data can't end up in Cache Storage.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-30 16:06:59 +02:00
Steven RYDELL fe24a9bec0 chore: upgrade Vite to 8.2.0 and @vitejs/plugin-react to 6.0.5 2026-07-30 15:42:16 +02:00
Steven RYDELL 4739f9ed92 Proxy API and JMAP requests to a local Stalwart server in dev
Same-origin proxying to localhost:8080 avoids CORS without weakening the server's CORS policy; pair with VITE_API_BASE_URL= (empty) in .env.development.local.
2026-07-29 05:48:07 +02:00
Maurus Decimus 5eea77346a v1.0.6 2026-07-28 10:57:30 +02:00
Maurus Decimus 80727bbb77 Use happy-dom as vitest environment 2026-04-20 15:23:38 +02:00
Maurus Decimus 4470616775 Initial commit 2026-04-20 15:02:57 +02:00