Skip to content

Commit

Permalink
fix: browser extension CORS (#1404)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianpoy authored Jun 22, 2024
2 parents ce563b2 + e7e4f20 commit 2c6ca8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/backend/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const defaultCorsAllowlist = [
"capacitor://localhost",
"moz-extension://*",
"chrome-extension://oepplnnfceidfaaacjpdpobnjkcpgcpo",
"*", // Temporary fix for 1401, circle back and fix webextension manifests
];

const hostMatch = (pattern: string, origin: string) => {
Expand Down

0 comments on commit 2c6ca8a

Please sign in to comment.