Commit Graph

2 Commits

Author SHA1 Message Date
104aeff216 fix: preserve query string in production API proxy
The SvelteKit hooks proxy was only forwarding pathname without
the query string (event.url.search), causing filters and pagination
to be silently dropped in production builds.
2026-01-01 10:00:18 +01:00
89a82923f8 fix: add server hooks for API proxying in production
SvelteKit production build needs server-side request handling
since Vite's dev proxy isn't available. The hooks.server.ts file
proxies:
- /api/v1/* -> backend service
- /api/* -> Ollama service
- /health -> backend health check

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 08:17:41 +01:00