From 519d372e63513ec1a6928e4c3475df1b45e02c04 Mon Sep 17 00:00:00 2001 From: Beaudan Date: Fri, 2 Nov 2018 14:48:19 +1100 Subject: [PATCH] Tiny url update to work with the storage server --- config/default.json | 2 +- js/modules/loki_message_api.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/default.json b/config/default.json index ce71db642..0130b916a 100644 --- a/config/default.json +++ b/config/default.json @@ -1,5 +1,5 @@ { - "serverUrl": "http://localhost", + "serverUrl": "http://localhost:8080", "cdnUrl": "http://localhost", "disableAutoUpdate": false, "openDevTools": false, diff --git a/js/modules/loki_message_api.js b/js/modules/loki_message_api.js index 5506f482a..4bd984ba8 100644 --- a/js/modules/loki_message_api.js +++ b/js/modules/loki_message_api.js @@ -65,7 +65,7 @@ function initialize({ url }) { } const options = { - url: `${url}/send_message`, + url: `${url}/store`, type: 'POST', responseType: undefined, timeout: undefined,