retablish port

This commit is contained in:
mr 2024-10-15 12:14:42 +02:00
parent 2579d00a7d
commit fd45143fd2

View File

@ -26,7 +26,7 @@ func main() {
)
// Beego init
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.StaticDir["/swagger"] = "swagger"
//}