aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--webAO/client/aoHost.ts2
-rw-r--r--webAO/master.ts2
2 files changed, 2 insertions, 2 deletions
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);
diff --git a/webAO/master.ts b/webAO/master.ts
index 8bffc03..87c7525 100644
--- a/webAO/master.ts
+++ b/webAO/master.ts
@@ -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;