1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-11 14:40:39 +00:00
This commit is contained in:
Ming Deng
2020-08-29 01:17:43 +08:00
parent c2361170b3
commit 81b9a1382a
11 changed files with 215 additions and 57 deletions

View File

@ -34,7 +34,10 @@ func getPort() string {
if err != nil {
return "8080"
}
port = config.String("httpport")
port, err = config.String("httpport")
if err != nil {
return "8080"
}
return port
}
return port