summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-16 20:30:03 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-16 20:30:03 +0100
commit306596d6c7cc65bbdb50d8e1055244103bcd7511 (patch)
tree6775e415e43e2fa2c60cca3c1d3b5f442e8c23e7
parent3068788fbc82fe69ec28d143efc321a06056fb90 (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.java2
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;
}