fix health route

This commit is contained in:
kandrusyak
2023-08-24 22:40:44 +03:00
parent 3a59b0896e
commit ea0a14bcf7
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ var JWT_MW = echojwt.WithConfig(echojwt.Config{
SigningKey: []byte(config.Env.Server.JWTSecret),
Skipper: func(c echo.Context) bool {
// Skip authentication for signup and login requests
if strings.Contains(c.Path(), "auth") || c.Path() == "/api/health" {
if strings.Contains(c.Path(), "auth") || c.Path() == "/health" {
return true
}