retablish port

This commit is contained in:
mr 2024-10-15 12:16:06 +02:00
parent ace0193d3f
commit f4146c36f3

View File

@ -28,7 +28,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"