Add version information to /settings

This commit is contained in:
Nick O'Leary
2014-07-17 21:32:30 +01:00
parent 8b6c14b05d
commit 84a0e8ceff
4 changed files with 15 additions and 11 deletions

View File

@@ -63,7 +63,8 @@ function setupUI(settings) {
app.get("/settings", function(req,res) {
var safeSettings = {
httpNodeRoot: settings.httpNodeRoot
httpNodeRoot: settings.httpNodeRoot,
version: settings.version
};
res.json(safeSettings);
});