从小熊那拷贝一份
This commit is contained in:
11
.env.example
Normal file
11
.env.example
Normal file
@@ -0,0 +1,11 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user