diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-01-16 20:30:03 +0100 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-01-16 20:30:03 +0100 |
commit | 306596d6c7cc65bbdb50d8e1055244103bcd7511 (patch) | |
tree | 6775e415e43e2fa2c60cca3c1d3b5f442e8c23e7 | |
parent | 3068788fbc82fe69ec28d143efc321a06056fb90 (diff) |
Fix URL handling in RpcHandler.
Report http://ip:port/ as URL. Removes SameService.json part.
-rw-r--r-- | same/src/main/java/com/orbekk/same/RpcHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/same/src/main/java/com/orbekk/same/RpcHandler.java b/same/src/main/java/com/orbekk/same/RpcHandler.java index ae87bea..7b2adb3 100644 --- a/same/src/main/java/com/orbekk/same/RpcHandler.java +++ b/same/src/main/java/com/orbekk/same/RpcHandler.java @@ -30,7 +30,7 @@ public class RpcHandler extends AbstractHandler { if (urlReceiver != null) { String sameServiceUrl = "http://" + request.getLocalAddr() + - ":" + request.getLocalPort() + "/SameService.json"; + ":" + request.getLocalPort() + "/"; urlReceiver.setUrl(sameServiceUrl); urlReceiver = null; } |