diff options
| author | stonedDiscord <Tukz@gmx.de> | 2023-11-13 13:44:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-13 13:44:33 +0100 |
| commit | 074114f8157aadc1cd85d55aa7a9343872389ee6 (patch) | |
| tree | ef57dba7ccea154bd0c6eaafa3cba34c15664a3b /webAO/client | |
| parent | 3b57ceff07be9fc86ee5ba73a0614ee754f8f8c6 (diff) | |
| parent | c6b046917f71940f75f5028c64298ec146f9a487 (diff) | |
Merge pull request #196 from Troid-Tech/query-params-and-name
Rework query param parsing and set window title to server name
Diffstat (limited to 'webAO/client')
| -rw-r--r-- | webAO/client/aoHost.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webAO/client/aoHost.ts b/webAO/client/aoHost.ts index fa13e79..6cad62a 100644 --- a/webAO/client/aoHost.ts +++ b/webAO/client/aoHost.ts @@ -1,7 +1,7 @@ import queryParser from '../utils/queryParser' + const { asset } = queryParser(); -const DEFAULT_HOST = 'http://attorneyoffline.de/base/'; -export let AO_HOST = asset || DEFAULT_HOST +export let AO_HOST = asset; export const setAOhost = (val: string) => { - AO_HOST = val + AO_HOST = val; } |
