Skip to content

Commit

Permalink
api_url_change-3
Browse files Browse the repository at this point in the history
  • Loading branch information
Sg108 committed Feb 9, 2024
1 parent 7fd734b commit dea5128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit dea5128

Please sign in to comment.