Skip to content

Commit

Permalink
Language fix
Browse files Browse the repository at this point in the history
  • Loading branch information
acrosman committed Aug 19, 2020
1 parent fa45bdf commit c0b7d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/consolePreload.js
Expand Up @@ -7,7 +7,7 @@ const { contextBridge, ipcRenderer, remote } = require('electron'); // eslint-d
contextBridge.exposeInMainWorld(
'api', {
send: (channel, data) => {
// whitelist channels
// Approved channels
const validChannels = [];
if (validChannels.includes(channel)) {
ipcRenderer.send(channel, data);
Expand Down

0 comments on commit c0b7d5d

Please sign in to comment.