diff --git a/config.js b/config.js index 73e855a..56e31aa 100644 --- a/config.js +++ b/config.js @@ -80,7 +80,7 @@ module.exports = { /** * Application version from package.json */ - version: packageJson.version, + version: devMode ? `dev-${packageJson.version}` : `v${packageJson.version}` , /** * Backend Express / internal server port diff --git a/public/script/appVersion.js b/public/script/appVersion.js index 8e8f505..4b1cb18 100644 --- a/public/script/appVersion.js +++ b/public/script/appVersion.js @@ -15,7 +15,7 @@ async function versionLabel() { if (!versionBadge) return; - versionBadge.textContent = `v${appVersion}`; + versionBadge.textContent = `${appVersion}`; } versionLabel(); \ No newline at end of file