Update src/main/java/uk/ac/ic/wlgitbridge/server/HealthCheckHandler.java

Co-authored-by: John Lees-Miller <jdleesmiller@gmail.com>
This commit is contained in:
Shane Kilkelly 2020-06-26 13:37:09 +01:00 committed by GitHub
parent 5e31a11938
commit 4161416659

View file

@ -32,7 +32,7 @@ public class HealthCheckHandler extends AbstractHandler {
if (
("GET".equals(method) || "HEAD".equals(method))
&& target != null
&& target.matches("^\\/health_check\\/?$")
&& target.matches("^/health_check/?$")
) {
Log.info(method + " <- /health_check");
baseRequest.setHandled(true);