Skip to content

Commit

Permalink
fix: remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed Feb 25, 2025
1 parent 48a5255 commit 3e63a9c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion apps/api/src/app/plugins/cors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export default fp(async (fastify, opts) => {

// do not include CORS headers for requests from localhost
const origin = req.headers.origin;
console.log('delegator', origin);
if (origin && /^http:\/\/localhost/.test(origin)) {
corsOptions.origin = true;
}
Expand Down

0 comments on commit 3e63a9c

Please # to comment.