diff --git a/web/chat.js b/web/chat.js index ac204d3a..a944631c 100644 --- a/web/chat.js +++ b/web/chat.js @@ -8,7 +8,7 @@ function sendChat(message) { var data = '{"name":"'+getip.ip+'","message":"'+message+'"}'; $.ajax({ type: 'POST', - url: '/up/sendmessage', + url: 'up/sendmessage', data: data, dataType: 'json', success: function(response) {