Skip to content

Commit f93354b

Browse files
committed
CSP policy
1 parent 4063173 commit f93354b

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Unreleased
22

3+
# 2.0.11
4+
5+
- Update a few dependencies
6+
- Set strict CSP header
7+
38
# 2.0.10
49

510
- Fix white flicker when windows are opening

codebook.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
dictionaries = []
2+
words = [
3+
"alic",
4+
"tauri",
5+
]
6+
flag_words = []
7+
ignore_paths = []
8+
ignore_patterns = []

src-tauri/tauri.conf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schema.tauri.app/config/2",
33
"mainBinaryName": "Alic",
44
"productName": "Alic Image Compressor",
5-
"version": "2.0.10",
5+
"version": "2.0.11",
66
"identifier": "io.kbl.alic",
77
"build": {
88
"beforeDevCommand": "bun run dev",
@@ -38,7 +38,7 @@
3838
}
3939
],
4040
"security": {
41-
"csp": null
41+
"csp": "default-src 'self' style-src 'self' 'unsafe-inline'"
4242
}
4343
},
4444
"bundle": {

0 commit comments

Comments
 (0)