This commit is contained in:
DaMachinator 2018-01-20 14:22:19 -05:00 committed by Arcanitor
parent 0cc9707980
commit f534597c1f
1 changed files with 1 additions and 1 deletions

View File

@ -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;