Files
sub-store/frontend/dist/config.js
T
rogee 9ec8c956c1 feat: sing-box Clash template support + Docker CI + frontend scaffold
- Clash→sing-box template conversion engine (singbox_template.go)
- Auto-map 40+ Clash rule-providers to sing-box .srs binary rule-sets
- Fix sing-box 1.11+/1.12+ migrations (sniff/block/WireGuard/DNS/rule_set)
- Fix WireGuard URI '+' parsing bug (rawParamGet)
- Add REJECT block outbound for selector group references
- Skip rules referencing rule-sets with no sing-box equivalent
- Verified: sing-box run succeeds with ACL4SSR template (16 rule-sets loaded)
- Add Dockerfile (multi-stage Go build)
- Add GitHub Actions workflow (multi-arch: amd64+arm64, push to ghcr.io)
- Add frontend scaffold (Vue3 + Vite + Tailwind)
2026-07-27 21:56:19 +08:00

24 lines
740 B
JavaScript

/**
* Frontend runtime configuration.
*
* This file is loaded at runtime (not bundled), so you can edit it
* after building without rebuilding the frontend.
*
* Copy this file to config.js in the same directory as index.html
* and adjust the values as needed.
*/
window.SUB_STORE_CONFIG = {
/**
* Base URL for the backend API.
* - Empty string '' means same origin (frontend served by the backend, or via reverse proxy).
* - Set to e.g. 'https://api.example.com' if frontend and backend are on different domains.
*/
apiBaseUrl: '',
/**
* Whether to send token as Bearer header (true) or query parameter (false).
* Bearer header is more secure (token not in server logs/URLs).
*/
useBearerAuth: true,
}