Skip to content

Commit 8a89d79

Browse files
Do not require authentication for /v1/keeper/ping and /v1/keeper/peerId paths.
1 parent ad30db5 commit 8a89d79

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/kotlin/org/exploit/keeper/filter/MachineAuthFilter.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ class MachineAuthFilter(
2020
): ContainerRequestFilter {
2121
private val publicPaths = listOf(
2222
"/v1/keeper/system/health",
23-
"/v1/keeper/system/ready"
23+
"/v1/keeper/system/ready",
24+
"/v1/keeper/ping",
25+
"/v1/keeper/peerId"
2426
)
2527

2628
private val matcher = AntPathMatcher.of("/v1/keeper/**")

0 commit comments

Comments
 (0)