Skip to content

Commit

Permalink
allow url to override ass
Browse files Browse the repository at this point in the history
  • Loading branch information
stonedDiscord committed Jan 20, 2025
1 parent 3743695 commit 26d4521
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
Expand Up @@ -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;
}
};

0 comments on commit 26d4521

Please sign in to comment.