Skip to content

Commit 4c92c19

Browse files
committed
feat(serve): disable electron security warnings
1 parent 4bed938 commit 4c92c19

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,9 @@ module.exports = (api, options) => {
277277
env: {
278278
...process.env,
279279
// Give the main process the url to the dev server
280-
WEBPACK_DEV_SERVER_URL: server.url
280+
WEBPACK_DEV_SERVER_URL: server.url,
281+
// Disable electron security warnings
282+
ELECTRON_DISABLE_SECURITY_WARNINGS: true
281283
}
282284
}
283285
)

0 commit comments

Comments
 (0)