File tree Expand file tree Collapse file tree
core/tauri/test/fixture/src-tauri
tooling/cli.rs/templates/src-tauri Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " cli.rs " : patch
3+ ---
4+
5+ Add ` 'self' ` to default CSP because otherwise no joy on macOS.
Original file line number Diff line number Diff line change 1818 }
1919 ],
2020 "security" : {
21- "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'"
21+ "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' 'self' "
2222 },
2323 "updater" : {
2424 "active" : false
Original file line number Diff line number Diff line change 7878 }
7979 ],
8080 "security" : {
81- "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' img-src: 'self'"
81+ "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'"
8282 },
8383 "systemTray" : {
8484 "iconPath" : " ../../.icons/icon.png"
Original file line number Diff line number Diff line change 4747 }
4848 ],
4949 "security" : {
50- "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'"
50+ "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' 'self' "
5151 },
5252 "updater" : {
5353 "active" : false
Original file line number Diff line number Diff line change 4747 }
4848 ],
4949 "security" : {
50- "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'"
50+ "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' 'self' "
5151 },
5252 "updater" : {
5353 "active" : false
Original file line number Diff line number Diff line change 3939 }
4040 ],
4141 "security" : {
42- "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'"
42+ "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' 'self' "
4343 },
4444 "updater" : {
4545 "active" : false
Original file line number Diff line number Diff line change 4848 }
4949 ],
5050 "security" : {
51- "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'"
51+ "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' 'self' "
5252 },
5353 "updater" : {
5454 "active" : false
Original file line number Diff line number Diff line change 4747 }
4848 ],
4949 "security" : {
50- "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'"
50+ "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' 'self' "
5151 },
5252 "updater" : {
5353 "active" : false
Original file line number Diff line number Diff line change 4242 }
4343 ],
4444 "security" : {
45- "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' img-src: 'self'"
45+ "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'"
4646 },
4747 "updater" : {
4848 "active" : false
Original file line number Diff line number Diff line change 4747 }
4848 ],
4949 "security" : {
50- "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'"
50+ "csp" : " default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' 'self' "
5151 },
5252 "updater" : {
5353 "active" : false
You can’t perform that action at this time.
0 commit comments