managarten/apps/skilltree/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
.env.production.example feat(skilltree): connect web app to backend API 2026-01-29 11:05:32 +00:00
Dockerfile feat(infra): auto-generate Dockerfile COPY statements from package.json 2026-03-24 22:33:07 +01:00
package.json feat(help): add help pages to 10 remaining web apps 2026-03-25 10:36:22 +01:00
svelte.config.js feat(skilltree): add SkillTree MVP - gamified skill tracking app 2026-01-28 20:32:05 +00:00
tsconfig.json feat(skilltree): add SkillTree MVP - gamified skill tracking app 2026-01-28 20:32:05 +00:00
vite.config.ts feat: show build date/time on login screen across all apps 2026-03-21 12:40:57 +01:00
vitest.config.ts test(skilltree): add comprehensive test suite for web and backend 2026-01-29 12:43:19 +01:00