mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-30 11:26:24 +02:00
- Create app/api/zero/query/route.ts — resolves named queries to ZQL using handleQueryRequest and mustGetQuery from @rocicorp/zero - Add ZERO_QUERY_URL to both docker-compose files: - dev: http://host.docker.internal:3000 (reaches local Next.js from Docker) - prod: http://frontend:3000 (Docker service networking) Without this endpoint, zero-cache cannot resolve named queries and no data syncs to the client. |
||
|---|---|---|
| .. | ||
| (home) | ||
| api | ||
| auth/callback | ||
| dashboard | ||
| db | ||
| docs | ||
| invite/[invite_code] | ||
| public/[token] | ||
| verify-token | ||
| error.tsx | ||
| favicon.ico | ||
| global-error.tsx | ||
| globals.css | ||
| layout.config.tsx | ||
| layout.tsx | ||
| sitemap.ts | ||