aboutsummaryrefslogtreecommitdiff
path: root/webAO/client
diff options
context:
space:
mode:
authorstonedDiscord <stonedDiscord@users.noreply.github.com>2025-01-25 16:03:31 +0000
committerGitHub Action <actions@github.com>2025-01-25 16:03:31 +0000
commitdc6ec59338fee402c1d7d24af35501aefd55d780 (patch)
tree1e142719dede3ddabb1b2636f11077bf97d5f304 /webAO/client
parentdc8728b8bc75fa7c4a97b5a0c7aaf426238a926f (diff)
Prettified Code!
Diffstat (limited to 'webAO/client')
-rw-r--r--webAO/client/aoHost.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/webAO/client/aoHost.ts b/webAO/client/aoHost.ts
index 9940b42..003e237 100644
--- a/webAO/client/aoHost.ts
+++ b/webAO/client/aoHost.ts
@@ -11,7 +11,11 @@ export const setAOhost = (val: string) => {
console.log("Upgrading asset link to https");
val = val.replace("http:", "https:");
}
- if (AO_HOST.length < 5 || !AO_HOST || AO_HOST.includes(`//attorneyoffline.de/`)) {
+ if (
+ AO_HOST.length < 5 ||
+ !AO_HOST ||
+ AO_HOST.includes(`//attorneyoffline.de/`)
+ ) {
AO_HOST = val;
}
console.log("Asset URL ist now " + AO_HOST);