diff options
| author | stonedDiscord <Tukz@gmx.de> | 2025-01-20 20:38:16 +0100 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2025-01-20 20:38:16 +0100 |
| commit | f15bd14d709a437555e95daff2ab4faccca4a3d0 (patch) | |
| tree | d27e107b6d4cb7962ebcd26e960f8d87d0ba7318 | |
| parent | 7cfafa9fd9c65c45a158c08e446809d08c024f4b (diff) | |
huh
| -rw-r--r-- | webAO/client/aoHost.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/webAO/client/aoHost.ts b/webAO/client/aoHost.ts index 9102168..d6f0c50 100644 --- a/webAO/client/aoHost.ts +++ b/webAO/client/aoHost.ts @@ -11,7 +11,8 @@ export const setAOhost = (val: string) => { console.log("Upgrading asset link to https"); val = val.replace("http:", "https:"); } - if (AO_HOST.length < 5) { + if (AO_HOST.length < 5 || !AO_HOST) { AO_HOST = val; - } + } + console.log("Asset URL ist now " + AO_HOST); }; |
