Node.js based forum software built for the modern web
added hostname
barisusakli09747251d850
diff --git a/src/controllers/admin/info.js b/src/controllers/admin/info.jsindex ad2a276294..a9a489f6c4 100644--- a/src/controllers/admin/info.js+++ b/src/controllers/admin/info.js@@ -1,5 +1,7 @@'use strict';+var os = require('os');+var infoController = {};infoController.get = function(req, res, next) {@@ -14,6 +16,9 @@ infoController.get = function(req, res, next) {versions: process.versions,memoryUsage: process.memoryUsage(),uptime: process.uptime()+ },+ os: {+ hostname: os.hostname()}};