fix: 清除多余 alpn 字段

This commit is contained in:
2024-03-12 00:13:59 +08:00
parent 043167cccf
commit d26c809edd
7 changed files with 52 additions and 25 deletions

View File

@ -3,7 +3,6 @@ package util
import (
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
"os"
@ -25,7 +24,6 @@ func MergeTemplate(proxies []model.Proxy, template string) (string, error) {
proxyTags = append(proxyTags, p.Tag)
}
ps, err := json.Marshal(&proxies)
fmt.Print(string(ps))
if err != nil {
return "", err
}