Made sendmessage url relative.

This commit is contained in:
FrozenCow 2011-02-19 21:08:14 +01:00
parent 22cc46f4b8
commit d5bd6ff038

View File

@ -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) {