mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-26 21:39:43 +02:00
22 lines
1,000 B
Text
22 lines
1,000 B
Text
# Electron-specific build-time configuration.
|
|
# Set before running pnpm dist:mac / dist:win / dist:linux.
|
|
|
|
# The hosted web frontend URL. Used to intercept OAuth redirects and keep them
|
|
# inside the desktop app. Set to your production frontend domain.
|
|
HOSTED_FRONTEND_URL=http://localhost:3000
|
|
|
|
# The backend API URL used by desktop auth and refresh flows.
|
|
HOSTED_BACKEND_URL=http://localhost:8000
|
|
|
|
# Public Google OAuth Desktop app client ID. This is required for native
|
|
# loopback + PKCE login and is safe to ship in the desktop app.
|
|
GOOGLE_DESKTOP_CLIENT_ID=your_google_desktop_client_id.apps.googleusercontent.com
|
|
|
|
# Runtime override for the above (read at app start, no rebuild required).
|
|
# Useful for self-hosters whose backend NEXT_FRONTEND_URL differs from the
|
|
# value baked into the official desktop builds. Leave empty to use HOSTED_FRONTEND_URL.
|
|
# SURFSENSE_HOSTED_FRONTEND_URL_OVERRIDE=
|
|
|
|
# PostHog analytics (leave empty to disable)
|
|
POSTHOG_KEY=
|
|
POSTHOG_HOST=https://assets.surfsense.com
|