feat(loon): add Loon configuration template and enhance proxy handling

This commit is contained in:
Chang lue Tsen
2025-07-23 05:29:36 -04:00
committed by Leif Draven
parent f4cd567492
commit f3a8f94b4b
4 changed files with 100 additions and 2 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ func BuildSurfboard(servers proxy.Adapter, siteName string, user UserInfo) []byt
total := traffic.AutoConvert(user.TotalTraffic, false)
unusedTraffic := traffic.AutoConvert(user.TotalTraffic-user.Upload-user.Download, false)
// query Host
if err := tpl.Execute(&buf, map[string]interface{}{
if err = tpl.Execute(&buf, map[string]interface{}{
"Proxies": proxies,
"ProxyGroup": proxyGroup,
"SubscribeURL": user.SubscribeURL,