Separated configuration to config.js.

This commit is contained in:
FrozenCow 2010-12-27 11:58:57 +01:00
parent c2d8df8e94
commit cbed5c3a01
3 changed files with 14 additions and 14 deletions

10
web/config.js Normal file
View file

@ -0,0 +1,10 @@
var setup = {
tileUrl: 'tiles/',
updateUrl: 'up/', // For Apache and lighttpd
// updateUrl: 'up/default.aspx?lasttimestamp=', // For IIS
updateRate: 2000, // Seconds the map should poll for updates. (Seconds) * 1000. The default is 2000 (every 2 seconds).
showPortraitsOnMap: true,
showPortraitsInPlayerList: true,
showPlayerNameOnMap: false
};