From f6e789e76f1ceec1f745217405b367be7852471b Mon Sep 17 00:00:00 2001 From: Jabir Date: Thu, 5 Sep 2024 17:33:48 +0600 Subject: [PATCH] Allow all domin2 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 34082db..e92e6a1 100644 --- a/index.js +++ b/index.js @@ -17,7 +17,7 @@ const corsOptions = { origin: "*", // Allow ALL domains methods: ["GET", "POST", "PUT", "PATCH", "DELETE"], allowedHeaders: ["Content-Type", "Authorization"], // Allowed headers - credentials: true, // Allow credentials like cookies and tokens if needed + // credentials: true, // Allow credentials like cookies and tokens if needed }; app.use(cors(corsOptions));