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

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

View file

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