electron-userland / electron-userland/electron-webpack
Setting Up Content-Security-Policy
Open
- Dominant language
- TypeScript
- Stars
- 902
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Description
I get this warning in the console every time i compile my electron-app,
"Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security Policy set or a policy with "unsafe-eval" enabled. This exposes users of this app to unnecessary security risks."
I've tried to set-up Content Security by inserting the meta-tag into the header. But webpack generates the static index.html at run-time. So i'm not sure where or how to add content security policy.
Any help will be appreciated
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.