Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Vijayeswar-Yalamanchili committed Sep 7, 2024
1 parent 5c819d9 commit 4e5cb8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const port = process.env.PORT
// middlewares
const app = express()
app.use(cors({
// origin : process.env.CLIENT_URL,
origin : 'http://localhost:5173',
origin : process.env.CLIENT_URL,
// origin : 'http://localhost:5173',
methods : 'GET, POST, PUT,DELETE',
credentials : true
}));
Expand Down

0 comments on commit 4e5cb8b

Please sign in to comment.