We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 59183e9 + 39f43ae commit b1f0f9fCopy full SHA for b1f0f9f
apps/desktop/tauri.conf.json
@@ -6,7 +6,7 @@
6
"withGlobalTauri": true,
7
"macOSPrivateApi": true,
8
"security": {
9
- "csp": null,
+ "csp": "img-src 'self' asset: http://asset.localhost",
10
"assetProtocol": {
11
"enable": true,
12
"scope": {
apps/frontend/src/ui/components/game/ClusterCover.tsx
@@ -24,10 +24,7 @@ function ClusterCover(props: ClusterCoverProps) {
24
if (url === undefined || url === null)
25
return split.fallback || defaultCover;
26
27
- if (url.startsWith('/'))
28
- return convertFileSrc(url);
29
-
30
- return url;
+ return convertFileSrc(url);
31
};
32
33
const Wrapper = (props: ParentProps) => (
0 commit comments