dynmap/web/config.js
2011-06-13 23:37:35 +02:00

34 lines
864 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',
// update: 'standalone/dynmap_{world}.json',
// sendmessage: 'standalone/sendmessage.php'
// },
tileUrl : 'tiles/',
tileWidth : 128,
tileHeight : 128
};