some tests
This commit is contained in:
@@ -6,12 +6,13 @@ export function IsLocalhost(): boolean {
|
||||
return location.href.indexOf("://localhost") != -1;
|
||||
}
|
||||
|
||||
export function GetOutputFrameUrl(): string {
|
||||
export function GetOutputFrameUrl(path: string = ""): string {
|
||||
var v = "?v=" + (+new Date());
|
||||
if (IsLocalhost()) {
|
||||
return "http://localhost:8021/";
|
||||
return "http://127.0.0.1:8021/" + path + v;
|
||||
}
|
||||
else {
|
||||
return "https://outputframe.davidmeincke.dk/";
|
||||
return "https://outputframe.davidmeincke.dk/" + path + v;
|
||||
//return "https://codeeditoroutput.z16.web.core.windows.net/";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user