diff --git a/web/chat.js b/web/chat.js index e5a89f71..ac204d3a 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: 'http://prosrv.info:8123/up/sendmessage', + url: '/up/sendmessage', data: data, dataType: 'json', success: function(response) {