dynmap/web/config.js

34 lines
892 B
JavaScript

var config = {
// For internal server or proxying webserver.
url : {
configuration : 'up/configuration',
update : 'up/world/{world}/{timestamp}',
sendmessage : 'up/sendmessage'
},
// For proxying webserver through php.
// url: {
// configuration: 'up.php?path=configuration',
// update: 'up.php?path=world/{world}/{timestamp}',
// sendmessage: 'up.php?path=sendmessage'
// },
// For proxying webserver through aspx.
// url: {
// configuration: 'up.aspx?path=configuration',
// update: 'up.aspx?path=world/{world}/{timestamp}',
// sendmessage: 'up.aspx?path=sendmessage'
// },
// For standalone (jsonfile) webserver.
// url: {
// configuration: 'standalone/dynmap_config.json?_={timestamp}',
// update: 'standalone/dynmap_{world}.json?_={timestamp}',
// sendmessage: 'standalone/sendmessage.php'
// },
tileUrl : 'tiles/',
tileWidth : 128,
tileHeight : 128
};