middlewares/auth/auth.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
middlewares/auth/auth.go
@@ -37,8 +37,8 @@ // c.Abort() //} c.Next() } else if strings.HasPrefix(urlPath,"/httpImage") { host := c.Request.RequestURI } else if strings.Contains(urlPath,"/httpImage") { host := c.Request.RemoteAddr logger.Debug("host:", host) imgUrl := config.Server.ImageUrl