diff --git a/index.js b/index.js index 19776c4..a1d2614 100644 --- a/index.js +++ b/index.js @@ -260,7 +260,7 @@ Mod.prototype.callback = function (req, res, serverconsole, responseEnd, href, e callServerError(500, "OrangeCircle/" + version, ex); } } - } else if (href == "/orangecircle-config.json" && path.normalize(__dirname + "/../../..") == process.cwd()) { + } else if ((href == "/orangecircle-config.json" || (os.platform() == "win32" && href.toLowerCase() == "/orangecircle-config.json")) && path.normalize(__dirname + "/../../..") == process.cwd()) { if (!callServerError) { res.writeHead(200, "OK", { "Content-Type": "application/json",