diff --git a/web/js/chat.js b/web/js/chat.js index 3fca24e1..3031c7ff 100644 --- a/web/js/chat.js +++ b/web/js/chat.js @@ -24,7 +24,7 @@ componentconstructors['chat'] = function(dynmap, configuration) { var data = '{"name":'+JSON.stringify(ip)+',"message":'+JSON.stringify(message)+'}'; $.ajax({ type: 'POST', - url: 'up/sendmessage', + url: config.url.sendmessage, data: data, dataType: 'json', success: function(response) {