mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-01 06:33:38 +01:00
Fix web to server chat on standalone - make chat.js use config.sendmessage
This commit is contained in:
parent
7f662b2b1a
commit
18896eeac0
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user