mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 19:33:11 +02:00
Change frontend .env files to be committed and have .env.*.local overrides (#6207)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
###############################################################################
|
||||
# Frontend environment variables for desktop (Tauri) builds.
|
||||
# Layered on top of .env when running in desktop mode.
|
||||
# Values can be overridden in the uncommitted sibling `.env.desktop.local` file.
|
||||
# Note: This file is committed to Git, so should not contain any private keys.
|
||||
###############################################################################
|
||||
|
||||
# Desktop backend endpoint — leave blank to use VITE_API_BASE_URL from .env
|
||||
VITE_DESKTOP_BACKEND_URL=
|
||||
|
||||
# Desktop auth integration
|
||||
VITE_SAAS_SERVER_URL=https://auth.stirling.com
|
||||
VITE_SAAS_BACKEND_API_URL=https://api2.stirling.com
|
||||
|
||||
# Dev only: set to true to mimic an expired access token (no valid JWT for API/auth checks).
|
||||
# Production builds ignore this. Restart tauri-dev after changing.
|
||||
VITE_DEV_SIMULATE_EXPIRED_JWT=
|
||||
Reference in New Issue
Block a user