dynmap/web/config.js
2011-10-23 22:51:04 -05:00

34 lines
878 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?_={timestamp}',
// sendmessage: 'standalone/sendmessage.php'
// },
tileUrl : 'tiles/',
tileWidth : 128,
tileHeight : 128
};