fix: remove origin check
This commit is contained in:
parent
61fbaabf95
commit
8b581ee98e
|
@ -30,10 +30,6 @@ export function handleKernelMessage(event: MessageEvent) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (event.origin !== "http://kernel.lume") {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (event.data.method === "log") {
|
if (event.data.method === "log") {
|
||||||
if (data.isErr !== null && !data.isErr) {
|
if (data.isErr !== null && !data.isErr) {
|
||||||
console.log(data.message);
|
console.log(data.message);
|
||||||
|
|
Reference in New Issue