mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-05-20 00:33:10 +00:00
version env variable renamed uppercase
This commit is contained in:
parent
28b4e19359
commit
4781156012
2 changed files with 2 additions and 2 deletions
|
|
@ -119,7 +119,7 @@ const Settings = () => {
|
||||||
Streaming server
|
Streaming server
|
||||||
</Button>
|
</Button>
|
||||||
<div className={styles['spacing']} />
|
<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' ?
|
streaminServer.type === 'Ready' ?
|
||||||
<div className={styles['version-info-label']}>Server Version: {streaminServer.settings.serverVersion}</div>
|
<div className={styles['version-info-label']}>Server Version: {streaminServer.settings.serverVersion}</div>
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,7 @@ module.exports = (env, argv) => ({
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.EnvironmentPlugin({
|
new webpack.EnvironmentPlugin({
|
||||||
DEBUG: argv.mode !== 'production',
|
DEBUG: argv.mode !== 'production',
|
||||||
version: pachageJson.version,
|
VERSION: pachageJson.version,
|
||||||
...env
|
...env
|
||||||
}),
|
}),
|
||||||
new webpack.ProgressPlugin(),
|
new webpack.ProgressPlugin(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue