From e6f6873a23dccdc17849f450da3d93838710880c Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Tue, 26 Mar 2024 16:43:05 +0000 Subject: fix: Drop CORS restriction on the API routes as we're no longer doing fetches in the extension --- apps/web/next.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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 { -- cgit v1.2.3-70-g09d2