Skip to content

Commit

Permalink
CSP policy
Browse files Browse the repository at this point in the history
  • Loading branch information
blopker committed Feb 17, 2025
1 parent 4063173 commit f93354b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Unreleased

# 2.0.11

- Update a few dependencies
- Set strict CSP header

# 2.0.10

- Fix white flicker when windows are opening
Expand Down
8 changes: 8 additions & 0 deletions codebook.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
dictionaries = []
words = [
"alic",
"tauri",
]
flag_words = []
ignore_paths = []
ignore_patterns = []
4 changes: 2 additions & 2 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://schema.tauri.app/config/2",
"mainBinaryName": "Alic",
"productName": "Alic Image Compressor",
"version": "2.0.10",
"version": "2.0.11",
"identifier": "io.kbl.alic",
"build": {
"beforeDevCommand": "bun run dev",
Expand Down Expand Up @@ -38,7 +38,7 @@
}
],
"security": {
"csp": null
"csp": "default-src 'self' style-src 'self' 'unsafe-inline'"
}
},
"bundle": {
Expand Down

0 comments on commit f93354b

Please sign in to comment.