Skip to content

Commit d1f4a47

Browse files
committed
同步端口
1 parent 95d26cd commit d1f4a47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func main() {
1313
"_http._tcp",
1414
"local",
1515
"localhost",
16-
34323,
16+
client.HttpPort,
1717
[]string{"name=gateway-go", "home-page=https://github.com/OpenIoTHub/gateway-go"},
1818
0,
1919
[]net.IP{net.ParseIP("127.0.0.1")},

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func main() {
106106
"_http._tcp",
107107
"local",
108108
"localhost",
109-
34323,
109+
client.HttpPort,
110110
[]string{"name=gateway-go", fmt.Sprintf("id=gateway-go@%s", uuid.Must(uuid.NewV4()).String()), "home-page=https://github.com/OpenIoTHub/gateway-go"},
111111
0,
112112
[]net.IP{net.ParseIP("127.0.0.1")},

0 commit comments

Comments
 (0)