Skip to content

Commit c3d4829

Browse files
committed
Sandbox the app
1 parent a9b505f commit c3d4829

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ function createWindow () {
1010
webPreferences: {
1111
devTools: true,
1212
contextIsolation: false,
13+
sandbox: true,
1314
}
1415
})
1516

@@ -20,7 +21,7 @@ function createWindow () {
2021
});
2122

2223
win.webContents.on('new-window', function(e, url) {
23-
if (url.startsWith('https://identity.bitclout.com')) {
24+
if (url.startsWith('https://identity.bitclout.com/')) {
2425
return;
2526
}
2627

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "BitClout",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "bitclout.com electron app",
55
"main": "main.js",
66
"scripts": {

0 commit comments

Comments
 (0)