diff --git a/package.json b/package.json index 0f8c01d..597127c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sofarr", - "version": "1.1.1", + "version": "1.1.2", "description": "A personal media download dashboard that shows your downloads 'so far' while you relax on the sofa waiting for your *arr services to finish", "main": "server/index.js", "scripts": { diff --git a/server/index.js b/server/index.js index 02d9844..982a851 100644 --- a/server/index.js +++ b/server/index.js @@ -8,6 +8,7 @@ const fs = require('fs'); const http = require('http'); const https = require('https'); require('dotenv').config(); +const { version } = require('../package.json'); // Setup logging with levels // Levels: debug (0), info (1), warn (2), error (3), silent (4) @@ -300,7 +301,7 @@ const isSnakeoil = TLS_ENABLED && server.listen(PORT, () => { console.log(`=================================`); - console.log(` sofarr - Your Downloads Dashboard`); + console.log(` sofarr v${version} - Your Downloads Dashboard`); console.log(` Server running on ${protocol}://localhost:${PORT}`); if (tlsCredentials && isSnakeoil) { console.warn(` [TLS] Using bundled snakeoil certificate (self-signed).`);