Skip to content

Commit

Permalink
huh
Browse files Browse the repository at this point in the history
stonedDiscord committed Jan 20, 2025
1 parent 7cfafa9 commit f15bd14
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webAO/client/aoHost.ts
Original file line number Diff line number Diff line change
@@ -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);
};

0 comments on commit f15bd14

Please sign in to comment.