aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/aoHost.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2025-01-25 17:02:54 +0100
committerstonedDiscord <Tukz@gmx.de>2025-01-25 17:02:54 +0100
commitdc8728b8bc75fa7c4a97b5a0c7aaf426238a926f (patch)
treece7b54ee4019b8c82144e64b1ee7d74576cfe230 /webAO/client/aoHost.ts
parentd68b1ce54cb9fa3169ee73091fff6d737d973df3 (diff)
whoops
Diffstat (limited to 'webAO/client/aoHost.ts')
-rw-r--r--webAO/client/aoHost.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client/aoHost.ts b/webAO/client/aoHost.ts
index acb66d4..9940b42 100644
--- a/webAO/client/aoHost.ts
+++ b/webAO/client/aoHost.ts
@@ -11,7 +11,7 @@ export const setAOhost = (val: string) => {
console.log("Upgrading asset link to https");
val = val.replace("http:", "https:");
}
- if (AO_HOST.length < 5 || !AO_HOST) {
+ if (AO_HOST.length < 5 || !AO_HOST || AO_HOST.includes(`//attorneyoffline.de/`)) {
AO_HOST = val;
}
console.log("Asset URL ist now " + AO_HOST);