Skip to content

Commit

Permalink
deleted .ts files from web-admin
Browse files Browse the repository at this point in the history
  • Loading branch information
subru-37 committed Jan 15, 2025
1 parent bd04d8e commit 1c6418c
Show file tree
Hide file tree
Showing 2 changed files with 6,550 additions and 2,203 deletions.
12 changes: 6 additions & 6 deletions apps/core-admin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ const allowedOrigins = [
];

app.use(
cors({
origin: allowedOrigins,
methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
credentials: true, // Allow cookies or authorization headers
allowedHeaders: ['Content-Type', 'Authorization'],
}),
cors({
origin: allowedOrigins,
methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
credentials: true, // Allow cookies or authorization headers
allowedHeaders: ['Content-Type', 'Authorization'],
}),
);

app.options('*', cors());
Expand Down
Loading

0 comments on commit 1c6418c

Please sign in to comment.