Vereinfachung: Einheitlicher Port 8199, Nightly Badge über Umgebungsvariable REACT_APP_VERSION
This commit is contained in:
parent
067a92b7c4
commit
517182b778
4 changed files with 13 additions and 10 deletions
|
|
@ -179,7 +179,7 @@ export default function App() {
|
|||
<div>
|
||||
<h1 className="text-4xl font-bold">
|
||||
Jukebox 420
|
||||
{window.location.hostname.includes('localhost') && window.location.port === '3001' && (
|
||||
{process.env.REACT_APP_VERSION === 'nightly' && (
|
||||
<span className="text-sm text-red-400 ml-2">Nightly</span>
|
||||
)}
|
||||
</h1>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue