Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

1.4 KB
Raw Blame
###############################################################################
# Proprietary-build environment variables, layered on top of `.env` when Vite
# runs in `--mode proprietary` (so the core/OSS build never sees them). These
# back the admin portal mounted at /portal. Committed to Git, so no private keys;
# machine-specific overrides go in the uncommitted .env.proprietary.local /
# .env.local. (VITE_STRIPE_PUBLISHABLE_KEY lives in the base `.env` as it is
# shared across builds.)
###############################################################################

# Where the portal's "Editor" switcher / non-admin redirect points. "/" is
# correct: the editor serves the portal at /portal on the same origin. In dev,
# override in .env.local with your running editor's URL (e.g.
# VITE_EDITOR_URL=http://localhost:5173/).
VITE_EDITOR_URL=/

# Hosted SaaS Java backend, for ATTENDED portal -> SaaS reads (wallet, billing,
# plans, checkout) with the admin's Supabase JWT. Distinct from the local
# backend (reached same-origin via the editor's vite proxy). Must be the SaaS
# the backend links to: stirling.billing.account-link.saas-base-url defaults to
# this host, and nothing checks that the two agree.
VITE_SAAS_API_URL=https://api2.stirling.com

# Browser destination for cloud account management, including the app base path.
VITE_SAAS_FRONTEND_URL=https://stirling.com/app