Skip to content

Commit b546cb4

Browse files
committed
cors issue
1 parent 7d73faa commit b546cb4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/app.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ const morganOption = (NODE_ENV === 'production')
2020

2121
app.use(morgan(morganOption));
2222
app.use(
23-
cors({
24-
origin: ['*']
25-
})
23+
cors()
2624
);
2725
app.use(helmet());
2826
app.use('/api/auth', authRouter);

0 commit comments

Comments
 (0)