Skip to content

Commit

Permalink
refactor(cli.rs): change template config CSP to null, closes #3427 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored Feb 13, 2022
1 parent bdd41e2 commit 102a5e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/template-csp-null.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cli.rs": patch
---

Change the `init` template configuration to disable CSP for better usability for new users.
2 changes: 1 addition & 1 deletion tooling/cli/templates/app/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
}
],
"security": {
"csp": "default-src 'self'"
"csp": null
}
}
}

0 comments on commit 102a5e9

Please sign in to comment.