diff --git a/lib/GUI/index.handlebars b/lib/GUI/index.handlebars
new file mode 100644
index 000000000..91c9dc849
--- /dev/null
+++ b/lib/GUI/index.handlebars
@@ -0,0 +1,10 @@
+
+
+
+
+ {{ name }}
+
+
+ {{ name }}
+
+
diff --git a/lib/index.js b/lib/index.js
index 200c94972..2e0c2c653 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -121,7 +121,7 @@ module.exports = function(config_hash) {
})
})*/
- var template = Handlebars.compile(fs.readFileSync('../lib/GUI/index.handlebars', {encoding: 'UTF-8'}));
+ var template = Handlebars.compile(fs.readFileSync(require.resolve('./GUI/index.handlebars'), 'utf8'));
app.get('/', can('access'), function(req, res, next) {
res.setHeader('Content-Type', 'text/html');
res.send(template({
diff --git a/package.json b/package.json
index bed7fb10a..a607b78e6 100644
--- a/package.json
+++ b/package.json
@@ -31,9 +31,9 @@
"fs-ext": ">= 0.3.2"
},
"devDependencies": {
- "rimraf": ">= 2.2.5",
+ "eslint": ">= 0.4.2",
"mocha": ">= 1.17.0",
- "eslint": ">= 0.4.2"
+ "rimraf": ">= 2.2.5"
},
"keywords": [
"private",