Roc 1 mese fa
parent
commit
1e964a8198
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      main.go

+ 2 - 0
main.go

@@ -18,6 +18,8 @@ func main() {
 		web.BConfig.WebConfig.DirectoryIndex = true
 		web.BConfig.WebConfig.StaticDir["/swagger"] = "swagger"
 	}
+	web.BConfig.ServerName = `server`
+	
 	// 异常处理
 	web.ErrorController(&controllers.ErrorController{})