added sanity check

This commit is contained in:
David Meincke
2023-06-02 10:43:19 +02:00
parent 65a6312b8e
commit 221183962c
7 changed files with 28 additions and 23 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ export function IsLocalhost(): boolean {
export function GetOutputFrameUrl(path: string = ""): string {
var v = "?v=" + (+new Date());
if (IsLocalhost()) {
return "http://127.0.0.1:8021/" + path + v;
return "http://localhost:8021/" + path + v;
}
else {
return "https://outputframe.davidmeincke.dk/" + path + v;