From ceb43091dc4dd4536ceae3525d0e5928bb3beb65 Mon Sep 17 00:00:00 2001 From: Darren Date: Sun, 27 Oct 2013 10:28:41 +0000 Subject: [PATCH] Restoring conf.public_http config option for backwards compatibility --- config.example.js | 2 +- server/httphandler.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.example.js b/config.example.js index 2e7cc5f..a86fdb1 100644 --- a/config.example.js +++ b/config.example.js @@ -53,7 +53,7 @@ conf.identd = { // Where the client files are -conf.public_html = "client/"; +conf.public_http = "client/"; // Max connections per connection. 0 to disable conf.max_client_conns = 5; diff --git a/server/httphandler.js b/server/httphandler.js index 7073133..ee8b7e1 100644 --- a/server/httphandler.js +++ b/server/httphandler.js @@ -28,8 +28,8 @@ config.on('loaded', function () { var HttpHandler = function (config) { - var public_html = config.public_html || 'client/'; - this.file_server = new node_static.Server(public_html); + var public_http = config.public_http || 'client/'; + this.file_server = new node_static.Server(public_http); }; module.exports.HttpHandler = HttpHandler; -- 2.25.1