added sanity check
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user