Skip to content

Commit bb6a503

Browse files
committed
feat: set WebRTC IPHandlingPolicy default for Mesh extension
1 parent d945165 commit bb6a503

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ const createWindow = ({search = null, url = 'index.html', ...browserWindowOption
150150

151151
webContents.session.setPermissionRequestHandler(handlePermissionRequest);
152152

153+
webContents.setWebRTCIPHandlingPolicy('default');
154+
153155
if (isDevelopment) {
154156
webContents.openDevTools({mode: 'detach', activate: true});
155157
}

0 commit comments

Comments
 (0)