mirror of
https://github.com/HeyPuter/puter.git
synced 2026-01-12 16:09:57 -06:00
clean: log
This commit is contained in:
@@ -1674,17 +1674,9 @@ const ipc_listener = async (event, handled) => {
|
||||
const conn = svc_ipc.get_connection(targetAppInstanceID);
|
||||
if ( conn ) {
|
||||
conn.send(contents);
|
||||
// conn.send({
|
||||
// msg: 'messageToApp',
|
||||
// appInstanceID,
|
||||
// targetAppInstanceID,
|
||||
// contents,
|
||||
// }, targetAppOrigin);
|
||||
return;
|
||||
}
|
||||
|
||||
console.log(`🔒 App ${appInstanceID} is sending to ${targetAppInstanceID} insecurely`);
|
||||
|
||||
// pass on the message
|
||||
const target_iframe = window.iframe_for_app_instance(targetAppInstanceID);
|
||||
if (!target_iframe) {
|
||||
|
||||
Reference in New Issue
Block a user