fix: tuic typo
This commit is contained in:
parent
c89b1f0e96
commit
30ca59dab7
3 changed files with 3 additions and 3 deletions
|
@ -235,7 +235,7 @@ proxies:
|
||||||
port: 10443
|
port: 10443
|
||||||
type: tuic
|
type: tuic
|
||||||
token: TOKEN
|
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
|
# heartbeat_interval: 10000
|
||||||
# alpn: [h3]
|
# alpn: [h3]
|
||||||
# disable_sni: true
|
# disable_sni: true
|
||||||
|
|
|
@ -105,7 +105,7 @@ func NewTuic(option TuicOption) (*Tuic, error) {
|
||||||
if len(option.CustomCA) > 0 {
|
if len(option.CustomCA) > 0 {
|
||||||
bs, err = os.ReadFile(option.CustomCA)
|
bs, err = os.ReadFile(option.CustomCA)
|
||||||
if err != nil {
|
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 != "" {
|
} else if option.CustomCAString != "" {
|
||||||
bs = []byte(option.CustomCAString)
|
bs = []byte(option.CustomCAString)
|
||||||
|
|
|
@ -463,7 +463,7 @@ proxies:
|
||||||
port: 10443
|
port: 10443
|
||||||
type: tuic
|
type: tuic
|
||||||
token: TOKEN
|
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
|
# heartbeat_interval: 10000
|
||||||
# alpn: [h3]
|
# alpn: [h3]
|
||||||
# disable_sni: true
|
# disable_sni: true
|
||||||
|
|
Loading…
Reference in a new issue