add basic server and player page
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m3s

This commit is contained in:
Lee
2024-04-16 18:49:23 +01:00
parent 5b76385caf
commit 3c7cbfd95a
3 changed files with 55 additions and 5 deletions

View File

@ -25,6 +25,9 @@ export function LookupServer() {
* @param platform the server platform
*/
const lookupServer = (platform: ServerPlatform) => {
if (!hostname || hostname.length === 0) {
return;
}
router.push(`/server/${platform}/${hostname}`);
};