# ─────────────────────────────────────────────────────────────────────────
# apps/ops — Vite/Quasar dev environment
# Copy to `apps/ops/.env`, fill in the values, then `npx quasar dev`.
# Vite only exposes vars prefixed with VITE_ to the browser bundle.
# ─────────────────────────────────────────────────────────────────────────

# ERPNext API token used by the SPA when calling /api/resource/*.
# Format: <api_key>:<api_secret>. Mint one in ERPNext Desk under
# User → API Access. Needs roles for the doctypes the page touches
# (Customer, Sales Invoice, Dispatch Job, Service Subscription, etc.).
VITE_ERP_TOKEN=changeme_apikey:changeme_apisecret

# Public URL of the targo-hub (Node/Express). The SPA hits this for
# dispatch routes, traccar passthrough, conversations, voice agent,
# /auth/users, etc. Must be HTTPS in production.
# Local dev: http://localhost:3300
VITE_HUB_URL=https://msg.gigafibre.ca
