mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-16 01:53:05 -04:00
add comment thingie
This commit is contained in:
parent
ffd1bd2d6a
commit
eea3a443fa
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ const CssSrc = ["style-src", "font-src"];
|
||||||
const MediaAndCssSrc = [...MediaSrc, ...CssSrc];
|
const MediaAndCssSrc = [...MediaSrc, ...CssSrc];
|
||||||
const MediaScriptsAndCssSrc = [...MediaAndCssSrc, "script-src", "worker-src"];
|
const MediaScriptsAndCssSrc = [...MediaAndCssSrc, "script-src", "worker-src"];
|
||||||
|
|
||||||
|
// Plugins can whitelist their own domains by importing this object in their native.ts
|
||||||
|
// script and just adding to it
|
||||||
|
|
||||||
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
|
||||||
"raw.githubusercontent.com": MediaAndCssSrc, // github raw, used by some themes
|
"raw.githubusercontent.com": MediaAndCssSrc, // github raw, used by some themes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue