managarten/apps/zitare/apps/web
Till JS 3376b044bc fix(auth): resolve hardcoded localhost in user-settings across all web apps
The createUserSettingsStore was receiving a static auth URL evaluated at
module load time, before window.__PUBLIC_MANA_CORE_AUTH_URL__ was
injected by hooks.server.ts. In production this caused CSP violations
as settings API calls went to localhost:3001 instead of auth.mana.how.

Changes:
- Accept string | (() => string) for authUrl in shared-theme config
- Resolve authUrl lazily at fetch time instead of module load
- Fix fallback to empty string in non-dev environments (was localhost)
- Pass getAuthUrl as getter function in all 17 web apps

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 12:40:30 +01:00
..
src fix(auth): resolve hardcoded localhost in user-settings across all web apps 2026-03-25 12:40:30 +01:00
static refactor(pwa): replace custom service workers with Vite PWA plugin and centralize offline page 2026-03-22 18:16:43 +01:00
docker-entrypoint.sh 🚀 feat(zitare-web): add Docker deployment infrastructure 2026-02-13 14:49:26 +01:00
Dockerfile feat(infra): auto-generate Dockerfile COPY statements from package.json 2026-03-24 22:33:07 +01:00
package.json refactor(shared-help): extract shared translations, add Zitare + Mukke help pages 2026-03-25 09:26:26 +01:00
svelte.config.js 🔧 debug(bot-services): add logging to getToken for SSO-Link debugging 2026-02-13 14:06:37 +01:00
tsconfig.json 🔧 debug(bot-services): add logging to getToken for SSO-Link debugging 2026-02-13 14:06:37 +01:00
vite.config.ts feat: show build date/time on login screen across all apps 2026-03-21 12:40:57 +01:00