aboutsummaryrefslogtreecommitdiff
path: root/juick-ws/src/main/java/com/juick/ws/controllers
diff options
context:
space:
mode:
authorGravatar Alexander Alexeev2016-11-24 12:46:46 +0700
committerGravatar Vitaly Takmazov2016-11-25 00:29:30 +0300
commitd8f4849e84569436e36afb4c1e914b93d70370f7 (patch)
tree5727556dca69d406a567d753e16d0b055f15b239 /juick-ws/src/main/java/com/juick/ws/controllers
parent63f32f7c061d26b1bee8bba1c6c568a05e9d701f (diff)
web socket configuration separated; header 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.java2
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 2fe55eeb..28766a29 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", value = "/")
public ModelAndView status() {
ModelAndView modelAndView = new ModelAndView();
modelAndView.addObject("clients", wsHandler.getClients().size());