Add map-specific tournament creation link
Some checks failed
Deploy MineGeo to Dokploy / deploy (push) Failing after 3m31s

This commit is contained in:
2026-10-18 13:32:56 +05:00
parent a7085e4e80
commit da1a50a6ad
10 changed files with 74 additions and 9 deletions

View File

@@ -79,6 +79,7 @@ export function authDestination(value: string | null | undefined): string {
return value;
if (value && /^\/dashboard\/[0-9a-f-]{36}$/i.test(value)) return value;
if (value && /^\/support\/[0-9a-f-]{36}$/i.test(value)) return value;
if (value && /^\/tournaments\?map=[0-9a-f-]{36}$/i.test(value)) return value;
if (value && /^\/pair\?code=[A-F0-9]{8}$/.test(value)) return value;
return "/dashboard";
}

View File

@@ -971,6 +971,8 @@
"One world. Up to 32 rivals.": "Один мир. До 32 соперников.",
"Every tournament round contains five mini-rounds. Everyone plays the same locations.": "Каждый раунд турнира состоит из пяти мини-раундов. Все играют в одних и тех же локациях.",
"Create tournament": "Создать турнир",
"Create tournament with this map": "Создать турнир на этой карте",
"Log in to create a tournament": "Войдите, чтобы создать турнир",
"Log in to create or join": "Войдите, чтобы создать турнир или участвовать",
"Server time": "Время сервера",
"Tournament name": "Название турнира",