Verified Commit 69a23f3f authored by Aral Balkan's avatar Aral Balkan
Browse files

Add current Node.js runtime version to app version string

parent 5d87c451
......@@ -29,7 +29,7 @@ class WebServer {
// the version set in the package.json file. (Synchronous.)
version () {
const version = JSON.parse(fs.readFileSync(path.join(__dirname, './package.json'), 'utf-8')).version
return `\n 💖 Indie Web Server v${version}\n`
return `\n 💖 Indie Web Server v${version} running on Node ${process.version}\n`
}
// Returns an https server instance – the same as you’d get with
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment