Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
stonedDiscord committed Jan 25, 2025
1 parent d68b1ce commit dc8728b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webAO/client/aoHost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const setAOhost = (val: string) => {
console.log("Upgrading asset link to https");
val = val.replace("http:", "https:");
}
if (AO_HOST.length < 5 || !AO_HOST) {
if (AO_HOST.length < 5 || !AO_HOST || AO_HOST.includes(`//attorneyoffline.de/`)) {
AO_HOST = val;
}
console.log("Asset URL ist now " + AO_HOST);
Expand Down
2 changes: 1 addition & 1 deletion webAO/master.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface AOServer {
port?: number;
ws_port?: number;
wss_port?: number;
assets?: string;
asset?: string;
}

const clientVersion = process.env.npm_package_version;
Expand Down

0 comments on commit dc8728b

Please sign in to comment.