diff options
author | Alexander Alexeev | 2016-11-24 15:33:13 +0700 |
---|---|---|
committer | Vitaly Takmazov | 2016-11-25 00:29:30 +0300 |
commit | 6b018f65a4f0391bb7f8e2a06616b8541d0a452e (patch) | |
tree | b8bb147f7f3aa44cfbd52d9b3122d18c7da28772 /juick-ws/src/main/java/com/juick/ws/controllers | |
parent | d8f4849e84569436e36afb4c1e914b93d70370f7 (diff) |
StatusController mapping fixed
Diffstat (limited to 'juick-ws/src/main/java/com/juick/ws/controllers')
-rw-r--r-- | juick-ws/src/main/java/com/juick/ws/controllers/StatusController.java | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |