aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'main.js')
-rw-r--r--main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.js b/main.js
index 548ba0e..8f338b2 100644
--- a/main.js
+++ b/main.js
@@ -250,13 +250,13 @@ function createJitsiMeetWindow() {
const appBasePath = path.resolve(basePath);
if (!requestedBasename.startsWith(appBasePath)) {
- callback(false);
+ callback({ cancel: true });
console.warn(`Rejected file URL: ${details.url}`);
return;
}
- callback(true);
+ callback({ cancel: false });
});
// Filter out x-frame-options and frame-ancestors CSP to allow loading jitsi via the iframe API