mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-15 01:23:03 -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 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 = {
|
||||
"*.github.io": MediaAndCssSrc, // github pages, used by most themes
|
||||
"raw.githubusercontent.com": MediaAndCssSrc, // github raw, used by some themes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue