12 lines
392 B
Plaintext
12 lines
392 B
Plaintext
# Sub2API origin used by the Vite dev proxy
|
|
SUB2API_BASE_URL=https://sub2api.example.com
|
|
|
|
# Injected by the Vite proxy as x-api-key (dev). Not exposed to the browser.
|
|
ADMIN_API_KEY=admin-your-key
|
|
|
|
# Baked into the production JS as x-api-key (LAN deploy).
|
|
VITE_ADMIN_API_KEY=admin-your-key
|
|
|
|
# API prefix. Keep /api/v1 when the page is served on the same host as Sub2API.
|
|
VITE_API_BASE=/api/v1
|