From dc8728b8bc75fa7c4a97b5a0c7aaf426238a926f Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Sat, 25 Jan 2025 17:02:54 +0100 Subject: whoops --- webAO/client/aoHost.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webAO/client/aoHost.ts') diff --git a/webAO/client/aoHost.ts b/webAO/client/aoHost.ts index acb66d4..9940b42 100644 --- a/webAO/client/aoHost.ts +++ b/webAO/client/aoHost.ts @@ -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); -- cgit