mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-25 03:35:18 +01:00
Merge pull request #194 from mikeprimm/master
Fix chat.js to work for web->server chat on standalone
This commit is contained in:
commit
83b971ed2b
@ -24,7 +24,7 @@ componentconstructors['chat'] = function(dynmap, configuration) {
|
|||||||
var data = '{"name":'+JSON.stringify(ip)+',"message":'+JSON.stringify(message)+'}';
|
var data = '{"name":'+JSON.stringify(ip)+',"message":'+JSON.stringify(message)+'}';
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
url: 'up/sendmessage',
|
url: config.url.sendmessage,
|
||||||
data: data,
|
data: data,
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
success: function(response) {
|
success: function(response) {
|
||||||
|
Loading…
Reference in New Issue
Block a user