Skip to content

Commit

Permalink
Remove some checks we have manually validated in the template
Browse files Browse the repository at this point in the history
  • Loading branch information
reZach committed Feb 12, 2021
1 parent a75d3ee commit a295e9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "secure-electron-template",
"version": "9.2.3",
"version": "9.2.4",
"description": "The best way to build Electron apps with security in mind.",
"private": true,
"main": "app/electron/main.js",
"scripts": {
"postinstall": "electron-builder install-app-deps",
"audit-app": "npx electronegativity -i ./",
"audit-app": "npx electronegativity -i ./ -x LimitNavigationGlobalCheck,PermissionRequestHandlerGlobalCheck",
"translate": "node ./app/localization/translateMissing.js",
"dev-server": "cross-env NODE_ENV=development webpack serve --config ./webpack.development.js",
"dev": "concurrently --success first \"npm run dev-server\" \"cross-env NODE_ENV=development electron .\" -k",
Expand Down
2 changes: 2 additions & 0 deletions webpack.production.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ module.exports = merge(base, {
filename: "index.html",
base: "app://rse"
}),
// You can paste your CSP in this website https://csp-evaluator.withgoogle.com/
// for it to give you suggestions on how strong your CSP is
new CspHtmlWebpackPlugin(
{
"base-uri": ["'self'"],
Expand Down

0 comments on commit a295e9f

Please sign in to comment.