aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/aoHost.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2025-01-20 20:33:29 +0100
committerstonedDiscord <Tukz@gmx.de>2025-01-20 20:33:29 +0100
commit26d4521eeeaa99c60dafd92e5a7b38a6def20b92 (patch)
tree219c5f5f8accdcccf7c8630f11ec78b16e9ad205 /webAO/client/aoHost.ts
parent3743695901192aaaf8a97aea3d9fcdcdf07d4a14 (diff)
allow url to override ass
Diffstat (limited to 'webAO/client/aoHost.ts')
-rw-r--r--webAO/client/aoHost.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/webAO/client/aoHost.ts b/webAO/client/aoHost.ts
index 906d4a6..4501104 100644
--- a/webAO/client/aoHost.ts
+++ b/webAO/client/aoHost.ts
@@ -11,6 +11,7 @@ export const setAOhost = (val: string) => {
console.log("Upgrading asset link to https");
val = val.replace("http:", "https:");
}
-
- AO_HOST = val;
+ if (AO_HOST.length < 5) {
+ AO_HOST = val;
+ }
};