Skip to content

Commit 5caa79b

Browse files
committed
update fungsi ipport
1 parent 8bd8203 commit 5caa79b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ func GetAddress() (ipport string, network string) {
5757
network = "tcp4"
5858
if port == "" {
5959
port = ":8080"
60+
ipport = port
6061
} else if port[0:1] != ":" {
6162
ip := os.Getenv("IP")
6263
if ip == "" {

0 commit comments

Comments
 (0)