Skip to content

Commit

Permalink
fix: 修复clash下server-name重名的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
twbworld committed Nov 6, 2023
1 parent b8fa4fe commit 234bbb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func setDefaultValue(value *config.Proxy) {
//如果套cdn,则避免host不等于server(使用了优选ip)
domain = value.WsOpts.Headers.Host
}
value.Name = "外网信息复杂_理智分辨真假" + "_" + domain + "_" + value.Port
value.Name = "外网信息复杂_理智分辨真假" + "_" + value.Server + "_" + value.Port
value.Tls = true
value.Udp = true
value.SkipCertVerify = false
Expand Down

0 comments on commit 234bbb1

Please sign in to comment.