diff --git a/src/main/java/arcanitor/civilengineering/bridge/OutgoingMessageHandler.java b/src/main/java/arcanitor/civilengineering/bridge/OutgoingMessageHandler.java index 917e45a..889382f 100644 --- a/src/main/java/arcanitor/civilengineering/bridge/OutgoingMessageHandler.java +++ b/src/main/java/arcanitor/civilengineering/bridge/OutgoingMessageHandler.java @@ -44,7 +44,7 @@ public class OutgoingMessageHandler implements Runnable { public int postMessage(ApiMessage message) throws IOException { //open a connection - URL url = new URL(Config.connectURL + "api/messages"); + URL url = new URL(Config.connectURL + "/api/messages"); URLConnection urlConnection = url.openConnection(); HttpURLConnection connection = (HttpURLConnection)urlConnection;