diff options
| author | David Skoland <davidskoland@gmail.com> | 2023-11-13 00:14:31 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2023-11-13 00:14:31 +0100 |
| commit | 611b412d4935a905d2bf60c4ec0febc9709ebadd (patch) | |
| tree | 7ce4126a344a5e50d3b945c4ae3fe55bb6f7edce /webAO/utils | |
| parent | 83b7b869452816cfb0be7eb25fc7f26d3a8a6b7b (diff) | |
Add serverName to queryParams
Diffstat (limited to 'webAO/utils')
| -rw-r--r-- | webAO/utils/queryParser.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webAO/utils/queryParser.ts b/webAO/utils/queryParser.ts index c9c13cc..f934ac6 100644 --- a/webAO/utils/queryParser.ts +++ b/webAO/utils/queryParser.ts @@ -5,6 +5,7 @@ interface QueryParams { mode: string; asset: string; theme: string; + serverName: string; } const queryParser = (): QueryParams => { @@ -14,6 +15,7 @@ const queryParser = (): QueryParams => { mode: urlParams.get("mode") || "join", asset: urlParams.get("asset") || "http://attorneyoffline.de/base/", theme: urlParams.get("theme") || "default", + serverName: urlParams.get("serverName") || "Attorney Online session" } return queryParams as QueryParams; }; |
