diff --git a/main.go b/main.go index ea0424a..404d3b0 100644 --- a/main.go +++ b/main.go @@ -35,7 +35,7 @@ func main() { //router.HTMLRender = LoadTemplates("views") //router.GET("level/index", controller.Level.Index) //router.GET("position/index", controller.Position.Index) - router.Router.Run(":9097") // 监听并在 0.0.0.0:8080 上启动服务 + router.Router.Run(":9011") // 监听并在 0.0.0.0:8080 上启动服务 } func LoadTemplates(templatesDir string) multitemplate.Renderer { diff --git a/views/layouts/header.html b/views/layouts/header.html index 2864ca3..93d8631 100644 --- a/views/layouts/header.html +++ b/views/layouts/header.html @@ -26,9 +26,12 @@ -{{end}} \ No newline at end of file +{{end}}