Added app version to environment
This commit is contained in:
parent
fd9659db98
commit
e702936c44
1
.env
1
.env
@ -1,2 +1,3 @@
|
|||||||
REACT_APP_BROKER_URL=http://localhost:9000
|
REACT_APP_BROKER_URL=http://localhost:9000
|
||||||
REACT_APP_ICE_SERVERS_URL=http://localhost:9000/iceservers
|
REACT_APP_ICE_SERVERS_URL=http://localhost:9000/iceservers
|
||||||
|
REACT_APP_VERSION=$npm_package_version
|
@ -1,2 +1,3 @@
|
|||||||
REACT_APP_BROKER_URL=https://broker.owlbear.app
|
REACT_APP_BROKER_URL=https://broker.owlbear.app
|
||||||
REACT_APP_ICE_SERVERS_URL=https://broker.owlbear.app/iceservers
|
REACT_APP_ICE_SERVERS_URL=https://broker.owlbear.app/iceservers
|
||||||
|
REACT_APP_VERSION=$npm_package_version
|
@ -55,7 +55,7 @@ function Home() {
|
|||||||
Join Game
|
Join Game
|
||||||
</Button>
|
</Button>
|
||||||
<Text variant="caption" as="p" sx={{ textAlign: "center" }}>
|
<Text variant="caption" as="p" sx={{ textAlign: "center" }}>
|
||||||
Beta v1.5.0 (preview)
|
Beta v{process.env.REACT_APP_VERSION}
|
||||||
</Text>
|
</Text>
|
||||||
<Button
|
<Button
|
||||||
m={2}
|
m={2}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user