从小熊那拷贝一份

This commit is contained in:
2026-09-14 09:10:16 +08:00
commit 95e46314e5
24 changed files with 3989 additions and 0 deletions

11
.env.example Normal file
View 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