Skip to content

Commit bd0d6a9

Browse files
ToBinioAlexTMjugadorProspector
authored
chore(theseus): add https://*.githubusercontent.com to frame-src (modrinth#1298)
* chore: add https://*.githubusercontent.com to frame-src * chore(app): move `githubusercontent.com` CSP allowance to the proper media category --------- Co-authored-by: Alejandro González <[email protected]> Co-authored-by: Prospector <[email protected]>
1 parent dfef0df commit bd0d6a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/app/tauri.conf.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@
8787
"img-src": "https: 'unsafe-inline' 'self' asset: http://asset.localhost blob: data:",
8888
"style-src": "'unsafe-inline' 'self'",
8989
"script-src": "https://*.posthog.com 'self'",
90-
"frame-src": "https://www.youtube.com https://www.youtube-nocookie.com https://discord.com 'self'"
90+
"frame-src": "https://www.youtube.com https://www.youtube-nocookie.com https://discord.com 'self'",
91+
"media-src": "https://*.githubusercontent.com"
9192
}
9293
}
9394
}

0 commit comments

Comments
 (0)