diff --git a/.env b/.env index f2f811d..00465e2 100644 --- a/.env +++ b/.env @@ -1,2 +1,3 @@ REACT_APP_BROKER_URL=http://localhost:9000 -REACT_APP_ICE_SERVERS_URL=http://localhost:9000/iceservers \ No newline at end of file +REACT_APP_ICE_SERVERS_URL=http://localhost:9000/iceservers +REACT_APP_VERSION=$npm_package_version \ No newline at end of file diff --git a/.env.production b/.env.production index 3305ecc..c37dac6 100644 --- a/.env.production +++ b/.env.production @@ -1,2 +1,3 @@ REACT_APP_BROKER_URL=https://broker.owlbear.app -REACT_APP_ICE_SERVERS_URL=https://broker.owlbear.app/iceservers \ No newline at end of file +REACT_APP_ICE_SERVERS_URL=https://broker.owlbear.app/iceservers +REACT_APP_VERSION=$npm_package_version \ No newline at end of file diff --git a/src/routes/Home.js b/src/routes/Home.js index fff5916..d1ca57b 100644 --- a/src/routes/Home.js +++ b/src/routes/Home.js @@ -55,7 +55,7 @@ function Home() { Join Game - Beta v1.5.0 (preview) + Beta v{process.env.REACT_APP_VERSION}