Why do I see an "Electron Security Warning" after updating my Electron project to the latest version?
Full error message
I've created Electron-Vuejs-Vuetify project from this Vuetify's boilerplate I'm seeing this warning in the console: Electron Security Warning This renderer process has Node.js integration enabled and attempted to load remote content. This exposes users of this app to severe security risks. For more information and help, consult https://electronjs.org/docs/tutorial/security Question: What can possible cause that - Node, Vue.js, webpack's localhost config? What should I do?
Solutionsource: stackoverflow \u2197
Add the following line to main.js: process.env['ELECTRON_DISABLE_SECURITY_WARNINGS'] = 'true'; However you should read Security, Native Capabilities, and Your Responsibility to fully understand the implications of doing so.
API access
Get this solution programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/error/f67cc9546b2cfad27d4821cebc7bb45a7022465c62acdd1ca6392314d94fe023hash \u00b7 f67cc9546b2cfad27d4821cebc7bb45a7022465c62acdd1ca6392314d94fe023