From c8038f42c1ae51fe2f3d97555f7a77b36ee359cf Mon Sep 17 00:00:00 2001 From: mr Date: Tue, 15 Oct 2024 12:15:29 +0200 Subject: [PATCH] retablish port --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 2b20bb1..f2ae23b 100644 --- a/main.go +++ b/main.go @@ -32,7 +32,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"