Skip to content

Commit 2890ef3

Browse files
authored
Merge pull request #130 from ChooseTale/fix/create-game
fix: jwt 인증 제거
2 parents 53b2e97 + 3a06ca8 commit 2890ef3

File tree

2 files changed

+3
-65
lines changed

2 files changed

+3
-65
lines changed

.github/workflows/update_swagger.yaml

Lines changed: 0 additions & 63 deletions
This file was deleted.

src/main.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ async function bootstrap() {
3636

3737
app.useGlobalFilters(new AllExceptionsFilter());
3838
app.enableCors({
39-
origin: config.allowCorsList,
39+
// origin: config.allowCorsList,
40+
origin: '*',
4041
credentials: true,
4142
allowedHeaders: ['Content-Type', 'Authorization'],
4243
methods: ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'OPTIONS'],
@@ -51,7 +52,7 @@ async function bootstrap() {
5152
}
5253

5354
if (process.env.NODE_ENV === 'production') {
54-
app.useGlobalGuards(new JwtAuthGuard());
55+
// app.useGlobalGuards(new JwtAuthGuard());
5556
}
5657

5758
await app.listen(config.port);

0 commit comments

Comments
 (0)