add prefix
This commit is contained in:
@@ -12,7 +12,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() == "/health" {
|
||||
if strings.Contains(c.Path(), "auth") || c.Path() == "/api/health" {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user