mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 19:56:51 +08:00
fix: tuic typo
This commit is contained in:
parent
65b60a3468
commit
d9157e77db
|
@ -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 New Issue
Block a user