diff options
| author | stonedDiscord <Tukz@gmx.de> | 2022-09-05 02:32:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-05 02:32:02 +0200 |
| commit | a49a318848ca7feee32853e78b0fabbde99768d9 (patch) | |
| tree | 7a0b259736e9619c225506549cf5ae36bcda7172 /webAO/client | |
| parent | 1e3fde25b9f6d8adbdf087a51a34dc35cc1907d8 (diff) | |
| parent | ce708f69ed7878422a6a6371e44faed6857cb79a (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')
| -rw-r--r-- | webAO/client/aoHost.ts (renamed from webAO/client/aoHost.js) | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/webAO/client/aoHost.js b/webAO/client/aoHost.ts index b387608..9b0a768 100644 --- a/webAO/client/aoHost.js +++ b/webAO/client/aoHost.ts @@ -1,5 +1,7 @@ import queryParser from '../utils/queryParser' let { asset } = queryParser(); const DEFAULT_HOST = 'http://attorneyoffline.de/base/'; -const AO_HOST = asset || DEFAULT_HOST -export default AO_HOST +export let AO_HOST = asset || DEFAULT_HOST +export const setAOhost = (val: string) => { + AO_HOST = val +} |
