Skip to content

Commit

Permalink
cors updated
Browse files Browse the repository at this point in the history
  • Loading branch information
kedar200 committed Sep 9, 2024
1 parent 38cc526 commit e954c4e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ const app = express();

app.use(
cors({
origin: [
"http://127.0.0.1:3000",
"http://localhost:3000",
"https://limitless-frontend-pi.vercel.app"
],
origin: 'https://limitless-frontend-pi.vercel.app',
methods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
credentials: true,
})
Expand Down

0 comments on commit e954c4e

Please sign in to comment.