Browse Source

fix;server name

Roc 1 week ago
parent
commit
d22b285382
1 changed files with 1 additions and 0 deletions
  1. 1 0
      main.go

+ 1 - 0
main.go

@@ -20,6 +20,7 @@ func main() {
 		beego.BConfig.WebConfig.DirectoryIndex = true
 		beego.BConfig.WebConfig.StaticDir["/swagger"] = "swagger"
 	}
+	beego.BConfig.ServerName = `server`
 
 	models.AfterInitTable()
 	// 异常处理