Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electron Security Warning (Node.js Integration with Remote Content) #213

Closed
netlander opened this issue Jul 11, 2018 · 2 comments
Closed

Comments

@netlander
Copy link

Any idea how to suppress this message in the console? It's showing up on a fresh install and due to the non conventional structure of the project I am not able to google for a solution.

@Kaffiend
Copy link

Kaffiend commented Aug 7, 2018

The "consider loading over https" is really moot point. This is only happening during development when the cli server has a proxy in the electron window to the url, prod build renders from the filesystem.

@mauris
Copy link

mauris commented Aug 24, 2018

To disable the warnings, in the file main.ts of the root directory, add the line:

process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = '1';

See:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants