dynmap-neoforge/web/config.js
2011-05-26 13:54:08 +02:00

33 lines
No EOL
1.1 KiB
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
};