diff options
| author | MohamedBassem <me@mbassem.com> | 2024-03-26 16:43:05 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-03-26 16:43:05 +0000 |
| commit | e6f6873a23dccdc17849f450da3d93838710880c (patch) | |
| tree | 9155727859257c6f854b27af174403ed6a2940dd /apps/web/next.config.mjs | |
| parent | 98a7e8861e2165021f21caa94dce553790888777 (diff) | |
| download | karakeep-e6f6873a23dccdc17849f450da3d93838710880c.tar.zst | |
fix: Drop CORS restriction on the API routes as we're no longer doing fetches in the extension
Diffstat (limited to 'apps/web/next.config.mjs')
| -rw-r--r-- | apps/web/next.config.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs index fe0d8674..433f0c9d 100644 --- a/apps/web/next.config.mjs +++ b/apps/web/next.config.mjs @@ -25,7 +25,7 @@ const nextConfig = withPWA({ // Allow for specific domains to have access or * for all { key: "Access-Control-Allow-Origin", - value: "chrome-extension://kgcjekpmcjjogibpjebkhaanilehneje", + value: "*", }, // Allows for specific methods accepted { |
