Restoring conf.public_http config option for backwards compatibility
authorDarren <darren@darrenwhitlen.com>
Sun, 27 Oct 2013 10:28:41 +0000 (10:28 +0000)
committerDarren <darren@darrenwhitlen.com>
Sun, 27 Oct 2013 10:28:41 +0000 (10:28 +0000)
config.example.js
server/httphandler.js

index 2e7cc5fb20d95642d76dd857f901dd35ef709b73..a86fdb1047920990118bec1bd24dddcfe5597d85 100644 (file)
@@ -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;
index 707313336ac073363405f2ec83f93b5a3c0550eb..ee8b7e181afd63a4139d3ca25de9bc24e1e694e3 100644 (file)
@@ -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;