diff options
Diffstat (limited to 'webAO/client/aoHost.ts')
| -rw-r--r-- | webAO/client/aoHost.ts | 7 |
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 +} |
