1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 09:40:56 +00:00
This commit is contained in:
astaxie 2013-11-06 16:12:10 +08:00
parent bca6a33325
commit dbf6ca2b4c

View File

@ -14,7 +14,7 @@ type TestHttpRequest struct{
func getPort() string {
if port == "" {
config,err:= beego.LoadConfig("../conf/app.conf")
config, err := beego.ParseConfig("../conf/app.conf")
if err != nil {
return "8080"
}