aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-26 16:43:05 +0000
committerMohamedBassem <me@mbassem.com>2024-03-26 16:43:05 +0000
commite6f6873a23dccdc17849f450da3d93838710880c (patch)
tree9155727859257c6f854b27af174403ed6a2940dd
parent98a7e8861e2165021f21caa94dce553790888777 (diff)
downloadkarakeep-e6f6873a23dccdc17849f450da3d93838710880c.tar.zst
fix: Drop CORS restriction on the API routes as we're no longer doing fetches in the extension
-rw-r--r--apps/web/next.config.mjs2
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
{