Skip to content

Commit

Permalink
allow all origins temp
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabish1511 committed Dec 20, 2024
1 parent bd387ca commit 418c0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const allowedOrigins = [
];

app.use(cors({
origin: 'https://journalink-web.vercel.app',
origin: '*',//'https://journalink-web.vercel.app',
methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
allowedHeaders: ['Content-Type', 'Authorization'],
credentials: true
Expand Down

0 comments on commit 418c0d1

Please sign in to comment.