2026-04-11 10:46:39 +02:00
|
|
|
# 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=https://surfsense.net
|
|
|
|
|
|
2026-05-22 18:39:47 +02:00
|
|
|
# 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=
|
|
|
|
|
|
2026-04-11 10:46:39 +02:00
|
|
|
# PostHog analytics (leave empty to disable)
|
|
|
|
|
POSTHOG_KEY=
|
|
|
|
|
POSTHOG_HOST=https://assets.surfsense.com
|