Skip to content

Commit f5383bc

Browse files
authored
fix: update csp (#156)
1 parent d45060c commit f5383bc

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

src-tauri/tauri.conf.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,27 @@
3030
"$APPCONFIG/**"
3131
]
3232
},
33-
"csp": "default-src 'self' ipc: http://ipc.localhost; style-src 'self' asset: http://asset.localhost"
33+
"csp": "default-src 'self' https: ipc: http://ipc.localhost; style-src 'self' 'unsafe-inline' asset: http://asset.localhost; img-src 'self' data: https:"
3434
}
3535
},
3636
"bundle": {
3737
"active": true,
3838
"targets": "all",
3939
"icon": [
40+
"icons/icon.icns",
41+
"icons/icon.ico",
4042
"icons/32x32.png",
4143
"icons/128x128.png",
4244
43-
"icons/icon.icns",
44-
"icons/icon.ico"
45+
"icons/icon.png",
46+
"icons/Square30x30Logo.png",
47+
"icons/Square44x44Logo.png",
48+
"icons/Square71x71Logo.png",
49+
"icons/Square89x89Logo.png",
50+
"icons/Square150x150Logo.png",
51+
"icons/Square284x284Logo.png",
52+
"icons/Square310x310Logo.png",
53+
"icons/StoreLogo.png"
4554
]
4655
}
4756
}

0 commit comments

Comments
 (0)