Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
gwgw123 authored Dec 5, 2024
1 parent 364b893 commit e189fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function bootstrap() {
);

app.enableCors({
origin: ['http://localhost:3000', 'https://cokoedu.com'],
origin: ['http://localhost:3000', '.cokoedu.com'],
credentials: true,
});

Expand Down

0 comments on commit e189fd9

Please sign in to comment.