Automated Preview URLs (#601)

This commit is contained in:
Steve Faulkner
2021-04-02 12:24:01 -05:00
committed by GitHub
parent ba24eabe7c
commit bd9bdad78a
10 changed files with 595 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ export function sendMessage(data: any): void {
signature: "pcIframe",
data: data,
},
portalChildWindow.document.referrer
portalChildWindow.document.referrer || "*"
);
}
}
@@ -71,7 +71,7 @@ export function sendReadyMessage(): void {
kind: "ready",
data: "ready",
},
portalChildWindow.document.referrer
portalChildWindow.document.referrer || "*"
);
}
}