1
0
mirror of https://shylinux.com/x/icebergs synced 2025-05-03 20:07:01 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-03-08 11:37:42 +08:00
parent 253811a653
commit 956f823558
2 changed files with 7 additions and 5 deletions

View File

@ -52,10 +52,12 @@ func _server_listen(m *ice.Message, arg ...string) {
}
const (
PROTOCOL = "protocol"
HOSTPORT = "hostport"
HOSTNAME = "hostname"
NODENAME = "nodename"
PROTOCOL = "protocol"
HOSTPORT = "hostport"
HOSTNAME = "hostname"
NODENAME = "nodename"
BANDWIDTH = "bandwidth"
ADDRESS = "address"
)
const (
PROTO = "proto"

View File

@ -224,7 +224,7 @@ func init() {
if m.Option(ctx.INDEX) == "" {
mdb.Config(m, ice.MAIN, "")
} else {
mdb.Config(m, ice.MAIN, C(m.Option(ctx.INDEX)+nfs.PS))
mdb.Config(m, ice.MAIN, C(m.Option(ctx.INDEX)))
}
}},
tcp.HOST: {Help: "公网", Hand: func(m *ice.Message, arg ...string) { m.Echo(kit.Formats(PublicIP(m))) }},