mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
JS-177: remove filesystem exposure in Electron preload.js
This commit is contained in:
parent
eaad93c751
commit
d032fe71a3
6 changed files with 41 additions and 81 deletions
|
@ -212,9 +212,6 @@ app.on('open-url', (e, url) => {
|
|||
|
||||
app.on('certificate-error', (e, webContents, url, error, certificate, callback) => {
|
||||
const u = new URL(url);
|
||||
|
||||
console.log(url, u);
|
||||
|
||||
if ([ '127.0.0.1', 'localhost' ].includes(u.hostname)) {
|
||||
e.preventDefault();
|
||||
callback(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue