Skip to content

Commit

Permalink
make protocol secure to ensure have an access to MediaDevices API
Browse files Browse the repository at this point in the history
  • Loading branch information
lony2003 committed Jul 7, 2024
1 parent 56dc424 commit f7699ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ function createWindow() {
}

protocol.registerSchemesAsPrivileged([
{scheme: 'edge', privileges: {standard: true, supportFetchAPI: true}}
{scheme: 'edge', privileges: {secure: true, standard: true, supportFetchAPI: true}}
])

app.whenReady().then(() => {
Expand Down

0 comments on commit f7699ba

Please sign in to comment.