Update tauri content security policy (#92)

This fixes the launcher not loading on some system webview implementations
This commit is contained in:
Justsnoopy30 2023-04-19 21:05:07 -05:00 committed by GitHub
parent 16e015b527
commit 6887c33b66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@
}
},
"security": {
"csp": "default-src 'self'; img-src 'self' asset: https://asset.localhost"
"csp": "default-src 'self'; connect-src https://modrinth.com https://*.modrinth.com; style-src https://rsms.me/inter/ 'unsafe-inline'; font-src https://rsms.me/inter/; img-src tauri: https: data: blob: 'unsafe-inline' asset: https://asset.localhost"
},
"updater": {
"active": false