From 6b018f65a4f0391bb7f8e2a06616b8541d0a452e Mon Sep 17 00:00:00 2001 From: Alexander Alexeev Date: Thu, 24 Nov 2016 15:33:13 +0700 Subject: StatusController mapping fixed --- juick-ws/src/main/java/com/juick/ws/controllers/StatusController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-ws') diff --git a/juick-ws/src/main/java/com/juick/ws/controllers/StatusController.java b/juick-ws/src/main/java/com/juick/ws/controllers/StatusController.java index 28766a29..926e6995 100644 --- a/juick-ws/src/main/java/com/juick/ws/controllers/StatusController.java +++ b/juick-ws/src/main/java/com/juick/ws/controllers/StatusController.java @@ -21,7 +21,7 @@ public class StatusController { @Inject XMPPConnection ws; - @RequestMapping(method = RequestMethod.GET, headers = "Connection!=Upgrade", value = "/") + @RequestMapping(method = RequestMethod.GET, headers = {"Connection!=Upgrade", "Connection!=upgrade"}, value = "/") public ModelAndView status() { ModelAndView modelAndView = new ModelAndView(); modelAndView.addObject("clients", wsHandler.getClients().size()); -- cgit v1.2.3