feat: update middlewares

This commit is contained in:
yanghao05
2025-04-28 21:17:43 +08:00
parent 9db957e716
commit 2df1a59a20
2 changed files with 2 additions and 8 deletions

View File

@@ -7,7 +7,6 @@ import (
)
func (f *Middlewares) AuthAdmin(ctx fiber.Ctx) error {
return ctx.Next()
if !strings.HasPrefix(ctx.Path(), "/v1/admin") {
return ctx.Next()
}