mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-27 20:58:40 +01:00
Made sendmessage url relative.
This commit is contained in:
parent
22cc46f4b8
commit
d5bd6ff038
@ -8,7 +8,7 @@ function sendChat(message) {
|
|||||||
var data = '{"name":"'+getip.ip+'","message":"'+message+'"}';
|
var data = '{"name":"'+getip.ip+'","message":"'+message+'"}';
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
url: '/up/sendmessage',
|
url: 'up/sendmessage',
|
||||||
data: data,
|
data: data,
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
success: function(response) {
|
success: function(response) {
|
||||||
|
Loading…
Reference in New Issue
Block a user