Added another way to specify configuration file.
This commit is contained in:
parent
5f32f8fb99
commit
c4e1362274
2 changed files with 5 additions and 4 deletions
|
|
@ -78,7 +78,7 @@ function Location(world, x, y, z) {
|
|||
function DynMap(options) {
|
||||
var me = this;
|
||||
me.options = options;
|
||||
$.getJSON(me.options.updateUrl + 'configuration', function(configuration) {
|
||||
$.getJSON(me.options.configurationUrl || (me.options.updateUrl + 'configuration'), function(configuration) {
|
||||
me.configure(configuration);
|
||||
me.initialize();
|
||||
}, function(status, statusMessage) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue