retablish port
This commit is contained in:
parent
1a4b2262b3
commit
bd71324097
2
main.go
2
main.go
@ -26,7 +26,7 @@ func main() {
|
|||||||
)
|
)
|
||||||
// Beego init
|
// Beego init
|
||||||
beego.BConfig.AppName = appname
|
beego.BConfig.AppName = appname
|
||||||
beego.BConfig.Listen.HTTPPort = 8080
|
beego.BConfig.Listen.HTTPPort = o.GetIntDefault("port", 8080)
|
||||||
beego.BConfig.WebConfig.DirectoryIndex = true
|
beego.BConfig.WebConfig.DirectoryIndex = true
|
||||||
beego.BConfig.WebConfig.StaticDir["/swagger"] = "swagger"
|
beego.BConfig.WebConfig.StaticDir["/swagger"] = "swagger"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user