diff --git a/index.js b/index.js index 3624282..6ad7d9c 100644 --- a/index.js +++ b/index.js @@ -16,9 +16,9 @@ const cors = require("cors") app.set('trust proxy', 1); app.use(cors({ - origin:'https://home-kart.vercel.app/', + origin:'https://home-kart.vercel.app', credentials:true, - //Access-Control-Allow-Origin: 'https://home-kart.vercel.app' + 'Access-Control-Allow-Origin': 'https://home-kart.vercel.app' })) // app.use((req, res, next) => {