Vereinfachung: Einheitlicher Port 8199, Nightly Badge über Umgebungsvariable REACT_APP_VERSION

This commit is contained in:
vibe-bot 2025-08-09 02:22:50 +02:00
parent 067a92b7c4
commit 517182b778
4 changed files with 13 additions and 10 deletions

View file

@ -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>