Skip to content

Commit 503a668

Browse files
committed
revered cors change
1 parent 5c207b1 commit 503a668

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ app.use(compress());
3030
app.use(helmet());
3131

3232
// Enable CORS for all routes
33-
const corsOpt = {
33+
const option = {
3434
origin: '*',
3535
};
36-
app.use(cors(corsOpt));
36+
app.use(cors(option));
3737

3838
// Add pretty output option for debugging
3939
app.use(json({ pretty: false, param: 'pretty' }));

0 commit comments

Comments
 (0)