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 ( const (
PROTOCOL = "protocol" PROTOCOL = "protocol"
HOSTPORT = "hostport" HOSTPORT = "hostport"
HOSTNAME = "hostname" HOSTNAME = "hostname"
NODENAME = "nodename" NODENAME = "nodename"
BANDWIDTH = "bandwidth"
ADDRESS = "address"
) )
const ( const (
PROTO = "proto" PROTO = "proto"

View File

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