version env variable renamed uppercase

This commit is contained in:
nklhrstv 2020-02-12 09:01:16 +02:00
parent 28b4e19359
commit 4781156012
2 changed files with 2 additions and 2 deletions

View file

@ -119,7 +119,7 @@ const Settings = () => {
Streaming server
</Button>
<div className={styles['spacing']} />
<div className={styles['version-info-label']}>App Version: {process.env.version}</div>
<div className={styles['version-info-label']}>App Version: {process.env.VERSION}</div>
{
streaminServer.type === 'Ready' ?
<div className={styles['version-info-label']}>Server Version: {streaminServer.settings.serverVersion}</div>

View file

@ -131,7 +131,7 @@ module.exports = (env, argv) => ({
plugins: [
new webpack.EnvironmentPlugin({
DEBUG: argv.mode !== 'production',
version: pachageJson.version,
VERSION: pachageJson.version,
...env
}),
new webpack.ProgressPlugin(),