mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-28 16:04:24 -04:00
EquicordHelper: Better Description
This commit is contained in:
parent
581a19606f
commit
38b53486a9
3 changed files with 15 additions and 5 deletions
|
@ -43,8 +43,17 @@ export default definePlugin({
|
|||
description: "Fixes some misc issues with discord",
|
||||
authors: [EquicordDevs.thororen, EquicordDevs.nyx],
|
||||
settingsAboutComponent: () => <>
|
||||
<Forms.FormText className="plugin-warning">
|
||||
This Plugin is used for fixing misc issues with discord such as some crashes
|
||||
<Forms.FormText className="plugin-warning" style={{ textAlign: "left" }}>
|
||||
This plugin was created to allow us as the Equicord Team & Contributors
|
||||
to fix miscellaneous issues Discord may run into or cause.
|
||||
<br />
|
||||
This includes but is not limited to:
|
||||
<br />
|
||||
- Unknown Resolution/FPS Fixed?
|
||||
<br />
|
||||
- Whitelists all domains in CSP
|
||||
<br />
|
||||
- Option to hide Clan Badges
|
||||
</Forms.FormText>
|
||||
</>,
|
||||
settings,
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import { CspPolicies, Src } from "@main/csp";
|
||||
import { CspPolicies, CSPSrc } from "@main/csp";
|
||||
|
||||
CspPolicies["*"] = Src;
|
||||
// Allow all domains to have the permissions from CSPSrc
|
||||
CspPolicies["*"] = CSPSrc;
|
||||
|
|
|
@ -14,7 +14,7 @@ export const ImageSrc = [...ConnectSrc, "img-src"];
|
|||
export const CssSrc = ["style-src", "font-src"];
|
||||
export const ImageAndCssSrc = [...ImageSrc, ...CssSrc];
|
||||
export const ImageScriptsAndCssSrc = [...ImageAndCssSrc, "script-src", "worker-src"];
|
||||
export const Src = ["style-src", "connect-src", "img-src", "frame-src", "font-src", "media-src", "worker-src"];
|
||||
export const CSPSrc = ["style-src", "connect-src", "img-src", "frame-src", "font-src", "media-src", "worker-src"];
|
||||
|
||||
// Plugins can whitelist their own domains by importing this object in their native.ts
|
||||
// script and just adding to it. But generally, you should just edit this file instead
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue