Skip to content

Commit

Permalink
fix/#39/cors orgin 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
gwgw123 committed Dec 24, 2024
1 parent b046289 commit bc80ea9
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 @@ -43,7 +43,7 @@ async function bootstrap() {
);

app.enableCors({
origin: ['.localhost:3000', 'https://cokoedu.com'],
origin: ['https://localhost:3000', 'https://cokoedu.com'],
credentials: true,
methods: 'GET,HEAD,OPTIONS,POST,PUT',
allowedHeaders:
Expand Down

0 comments on commit bc80ea9

Please sign in to comment.