From 9698dd4dcc29ef0d5049d2a2156d9c21a1e508e7 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 8 Apr 2015 04:39:05 -0400 Subject: [PATCH] feature(config) add root --- HELP.md | 1 + json/config.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HELP.md b/HELP.md index 8bf57718..0c008f76 100644 --- a/HELP.md +++ b/HELP.md @@ -206,6 +206,7 @@ Here is description of options: "showKeysPanel" : true, /* show classic panel with buttons of keys */ "port" : 8000, /* http port */ "ip" : null, /* ip or null(default) */ + "root" : "/" /* root directory */ } ``` diff --git a/json/config.json b/json/config.json index ca24cae6..16d2c852 100644 --- a/json/config.json +++ b/json/config.json @@ -15,5 +15,6 @@ "cache": true, "showKeysPanel": true, "port": 8000, - "ip": null + "ip": null, + "root": "/" }