Skip to content

Commit

Permalink
fix: block sentry asset file on other clients
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeIlLeone committed Feb 2, 2025
1 parent c0863be commit 414be24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ electron.app.once("ready", () => {
urls: [
"https://*/api/v*/science",
"https://*/api/v*/metrics",
"https://*/api/v*/science/*",
"https://*/api/v*/metrics/*",
"https://sentry.io/*",
"https://discord.com/assets/sentry.*.js",
"https://*.discord.com/assets/sentry.*.js",
],
},
function (_details, callback) {
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/managers/coremods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export namespace coremods {
export let notices: Coremod;
export let contextMenu: Coremod;
export let language: Coremod;
export let noTrack: Coremod;
export let notrack: Coremod;
export let rpc: Coremod;
export let watcher: Coremod;
export let commands: Coremod;
Expand All @@ -55,7 +55,7 @@ export async function startAll(): Promise<void> {
coremods.notices = await import("../coremods/notices");
coremods.contextMenu = await import("../coremods/contextMenu");
coremods.language = await import("../coremods/language");
coremods.noTrack = await import("../coremods/notrack");
coremods.notrack = await import("../coremods/notrack");
coremods.rpc = await import("../coremods/rpc");
coremods.watcher = await import("../coremods/watcher");
coremods.commands = await import("../coremods/commands");
Expand Down

0 comments on commit 414be24

Please sign in to comment.