diff --git a/webAO/client/aoHost.ts b/webAO/client/aoHost.ts index 91021682..d6f0c505 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); };