Fix BAPS <title>

This commit is contained in:
Matthew Stratford 2021-06-13 18:05:25 +01:00
parent fede677bb5
commit 7508756b00
2 changed files with 2 additions and 1 deletions

View file

@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL. work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`. Learn how to configure a non-root public URL by running `npm run build`.
--> -->
<title>BAPS3 Presenter</title> <title>WebStudio | University Radio York</title>
</head> </head>
<body> <body>
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>You need to enable JavaScript to run this app.</noscript>

View file

@ -33,6 +33,7 @@ const App: React.FC = () => {
} = useSelector((state: RootState) => state.session); } = useSelector((state: RootState) => state.session);
if (process.env.REACT_APP_BAPSICLE_INTERFACE) { if (process.env.REACT_APP_BAPSICLE_INTERFACE) {
document.title = "BAPS3 Presenter";
if (bapsConnectionState !== "CONNECTED") { if (bapsConnectionState !== "CONNECTED") {
return <BAPSSessionHandler />; return <BAPSSessionHandler />;
} else { } else {