Skip to content

Commit

Permalink
单容器时局域网内网关接口端口号改成 80/443。
Browse files Browse the repository at this point in the history
  • Loading branch information
jack30724 committed Dec 3, 2024
1 parent 61f11b3 commit b919cd2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -524,11 +524,13 @@ func modifyConfigWhenRunInDocker() {
*v = strings.ReplaceAll(*v, "localhost:8080", "aospace-gateway:8080")
*v = strings.ReplaceAll(*v, "127.0.0.1:6379", "aospace-redis:6379")
}
}
Config.GateWay.LanPort = 12841
Config.GateWay.TlsLanPort = 18569

// All
Config.GateWay.LanPort = 12841
Config.GateWay.TlsLanPort = 18569
} else {
Config.GateWay.LanPort = 80
Config.GateWay.TlsLanPort = 443
}

}
// fmt.Printf("######################## Config.Log.Path:%v\n",
Expand Down

0 comments on commit b919cd2

Please sign in to comment.