aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/aoHost.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-09-05 02:32:02 +0200
committerGitHub <noreply@github.com>2022-09-05 02:32:02 +0200
commita49a318848ca7feee32853e78b0fabbde99768d9 (patch)
tree7a0b259736e9619c225506549cf5ae36bcda7172 /webAO/client/aoHost.ts
parent1e3fde25b9f6d8adbdf087a51a34dc35cc1907d8 (diff)
parentce708f69ed7878422a6a6371e44faed6857cb79a (diff)
Merge pull request #165 from caleb-mabry/fix-ao-host
Fix AO Host Because I Used the Wrong File
Diffstat (limited to 'webAO/client/aoHost.ts')
-rw-r--r--webAO/client/aoHost.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/webAO/client/aoHost.ts b/webAO/client/aoHost.ts
new file mode 100644
index 0000000..9b0a768
--- /dev/null
+++ b/webAO/client/aoHost.ts
@@ -0,0 +1,7 @@
+import queryParser from '../utils/queryParser'
+let { asset } = queryParser();
+const DEFAULT_HOST = 'http://attorneyoffline.de/base/';
+export let AO_HOST = asset || DEFAULT_HOST
+export const setAOhost = (val: string) => {
+ AO_HOST = val
+}