From f534597c1fdff261aeac4ae8b30e17aea8bf6d06 Mon Sep 17 00:00:00 2001 From: DaMachinator Date: Sat, 20 Jan 2018 14:22:19 -0500 Subject: [PATCH] oops --- .../civilengineering/bridge/OutgoingMessageHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;