diff options
| author | stonedDiscord <Tukz@gmx.de> | 2025-01-20 20:33:29 +0100 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2025-01-20 20:33:29 +0100 |
| commit | 26d4521eeeaa99c60dafd92e5a7b38a6def20b92 (patch) | |
| tree | 219c5f5f8accdcccf7c8630f11ec78b16e9ad205 /webAO | |
| parent | 3743695901192aaaf8a97aea3d9fcdcdf07d4a14 (diff) | |
allow url to override ass
Diffstat (limited to 'webAO')
| -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 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; + } }; |
