mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-07 13:43:03 -04:00
whitelist tenor and pinterest for use in themes
This commit is contained in:
parent
5f21eaabf8
commit
3a2a16a09c
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,7 @@ export const MediaScriptsAndCssSrc = [...MediaAndCssSrc, "script-src", "worker-s
|
||||||
|
|
||||||
export const CspPolicies: PolicyMap = {
|
export const CspPolicies: PolicyMap = {
|
||||||
"*.github.io": MediaAndCssSrc, // GitHub pages, used by most themes
|
"*.github.io": MediaAndCssSrc, // GitHub pages, used by most themes
|
||||||
|
"github.com": MediaAndCssSrc, // GitHub content (stuff uploaded to markdown forms), used by most themes
|
||||||
"raw.githubusercontent.com": MediaAndCssSrc, // GitHub raw, used by some themes
|
"raw.githubusercontent.com": MediaAndCssSrc, // GitHub raw, used by some themes
|
||||||
"*.gitlab.io": MediaAndCssSrc, // GitLab pages, used by some themes
|
"*.gitlab.io": MediaAndCssSrc, // GitLab pages, used by some themes
|
||||||
"gitlab.com": MediaAndCssSrc, // GitLab raw, used by some themes
|
"gitlab.com": MediaAndCssSrc, // GitLab raw, used by some themes
|
||||||
|
@ -32,6 +33,8 @@ export const CspPolicies: PolicyMap = {
|
||||||
|
|
||||||
"i.imgur.com": MediaSrc, // Imgur, used by some themes
|
"i.imgur.com": MediaSrc, // Imgur, used by some themes
|
||||||
"i.ibb.co": MediaSrc, // ImgBB, used by some themes
|
"i.ibb.co": MediaSrc, // ImgBB, used by some themes
|
||||||
|
"i.pinimg.com": MediaSrc, // Pinterest, used by some themes
|
||||||
|
"*.tenor.com": MediaSrc, // Tenor, used by some themes
|
||||||
|
|
||||||
"cdn.discordapp.com": MediaAndCssSrc, // Discord CDN, used by Vencord and some themes to load media
|
"cdn.discordapp.com": MediaAndCssSrc, // Discord CDN, used by Vencord and some themes to load media
|
||||||
"media.discordapp.net": MediaSrc, // Discord media CDN, possible alternative to Discord CDN
|
"media.discordapp.net": MediaSrc, // Discord media CDN, possible alternative to Discord CDN
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue