# 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 # 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