Commit 58d1ca72 authored by gaoshiyao's avatar gaoshiyao

更新路由设置

parent 9ab1e6f7
......@@ -28,7 +28,7 @@ func Load(middleware ...gin.HandlerFunc) http.Handler {
e.Use(header.Options)
e.Use(header.Secure)
e.Use(middleware...)
root := e.Group("/")
root := e.Group("")
{
root.GET("/count", handler.GetCount)
root.Any("/proxy/*action", handler.Proxy)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment