diff --git a/index.html b/index.html index 86a69a4a..606f5aac 100644 --- a/index.html +++ b/index.html @@ -33,7 +33,7 @@
- + diff --git a/js/server.js b/js/server.js index f1de2420..5c775f69 100644 --- a/js/server.js +++ b/js/server.js @@ -46,6 +46,12 @@ var Server = function(config, callback) { var html = fs.readFileSync(path.resolve(global.root_path + "/index.html"), {encoding: "utf8"}); html = html.replace("#VERSION#", global.version); + configFile = "config/config.js"; + if (typeof(global.configuration_file) !== "undefined") { + configFile = global.configuration_file; + } + html = html.replace("#CONFIG_FILE#", configFile); + res.send(html); });