mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
- Added a new route handler for dynamic API requests, allowing proxying to the FastAPI backend. - Removed the previous rewrite configuration in next.config.ts for cleaner integration. - Updated .env.example to clarify backend URL usage.
21 lines
No EOL
804 B
Text
21 lines
No EOL
804 B
Text
NEXT_PUBLIC_FASTAPI_BACKEND_URL=http://localhost:8000
|
|
|
|
# Server-only. Internal backend URL used by Next.js server code.
|
|
FASTAPI_BACKEND_INTERNAL_URL=https://your-internal-backend.example.com
|
|
|
|
NEXT_PUBLIC_FASTAPI_BACKEND_AUTH_TYPE=LOCAL or GOOGLE
|
|
NEXT_PUBLIC_ETL_SERVICE=UNSTRUCTURED or LLAMACLOUD or DOCLING
|
|
NEXT_PUBLIC_ZERO_CACHE_URL=http://localhost:4848
|
|
|
|
# Contact Form Vars (optional)
|
|
DATABASE_URL=postgresql://postgres:[YOUR-PASSWORD]@db.sdsf.supabase.co:5432/postgres
|
|
|
|
# Deployment mode (optional)
|
|
NEXT_PUBLIC_DEPLOYMENT_MODE="self-hosted" or "cloud"
|
|
|
|
# PostHog analytics (optional, leave empty to disable)
|
|
NEXT_PUBLIC_POSTHOG_KEY=
|
|
|
|
# Cloudflare Turnstile CAPTCHA for anonymous chat abuse prevention
|
|
# Get your site key from https://dash.cloudflare.com/ -> Turnstile
|
|
NEXT_PUBLIC_TURNSTILE_SITE_KEY= |