Skip to content

Commit

Permalink
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 26c46b0 commit eafa0c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ app.use(express.json());

app.use(
cors({
origin: 'http://localhost:3000',
credentials: true,
origin: ['http://localhost:3000', 'https://www.kitapkurdu.xyz'],
})
);

Expand Down

0 comments on commit eafa0c4

Please sign in to comment.