Skip to content

Commit

Permalink
feat: Update CORS origin in app.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sayinmehmet47 committed Mar 29, 2024
1 parent eafa0c4 commit 5f1c9e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ app.use(express.json());
app.use(
cors({
origin: ['http://localhost:3000', 'https://www.kitapkurdu.xyz'],
credentials: true,
})
);

Expand Down

0 comments on commit 5f1c9e4

Please sign in to comment.