Rename gateway proxy labels and update window title
All checks were successful
Build and Deploy Gateway / build-and-push (push) Successful in 13s
Build and Deploy Gateway / deploy (push) Successful in 1s

This commit is contained in:
2026-07-11 11:40:19 +03:00
parent 41922ad30b
commit 6f565ded2e
3 changed files with 9 additions and 5 deletions

View File

@@ -25,6 +25,10 @@ function App() {
return () => clearInterval(timer);
}, []);
useEffect(() => {
if (state?.mode) document.title = state.mode === 'gateway' ? 'Gateway' : 'Proxy';
}, [state?.mode]);
async function run(action) {
setBusy(true);
setError('');