fix: tuic typo

This commit is contained in:
wwqgtxx 2022-11-25 10:45:06 +08:00
parent c89b1f0e96
commit 30ca59dab7
3 changed files with 3 additions and 3 deletions

View file

@ -235,7 +235,7 @@ proxies:
port: 10443
type: tuic
token: TOKEN
# ip: 127.0.0.1
# ip: 127.0.0.1 # for overwriting the DNS lookup result of the server address set in option 'server'
# heartbeat_interval: 10000
# alpn: [h3]
# disable_sni: true

View file

@ -105,7 +105,7 @@ func NewTuic(option TuicOption) (*Tuic, error) {
if len(option.CustomCA) > 0 {
bs, err = os.ReadFile(option.CustomCA)
if err != nil {
return nil, fmt.Errorf("hysteria %s load ca error: %w", addr, err)
return nil, fmt.Errorf("tuic %s load ca error: %w", addr, err)
}
} else if option.CustomCAString != "" {
bs = []byte(option.CustomCAString)

View file

@ -463,7 +463,7 @@ proxies:
port: 10443
type: tuic
token: TOKEN
# ip: 127.0.0.1
# ip: 127.0.0.1 # for overwriting the DNS lookup result of the server address set in option 'server'
# heartbeat_interval: 10000
# alpn: [h3]
# disable_sni: true