Skip to content

Commit

Permalink
trying to solve cors error 3
Browse files Browse the repository at this point in the history
  • Loading branch information
subru-37 committed Jan 14, 2025
1 parent fe81e5d commit 1854b52
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/core-admin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ const app: Express = express();

const { auth } = require('express-oauth2-jwt-bearer');

const allowedOrigins = ['https://techno-event-management.vercel.app', 'http://localhost:3000'];
const allowedOrigins = [
'https://techno-event-management.vercel.app',
'http://localhost:3000',
'https://admin.eventsync.iedcmec.in',
];

app.use(
cors({
Expand Down

0 comments on commit 1854b52

Please sign in to comment.