Skip to content

Commit 9a3acab

Browse files
committed
cors enabled cyclic-software#1
1 parent bded182 commit 9a3acab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ app.get('/:col', async (req, res) => {
6262
res.json(items).end()
6363
})
6464
//
65-
app.get('/status/',cors,async (req,res)=>{
65+
app.get('/status/',cors(),async (req,res)=>{
6666
res.json(APIMANGROVE())
6767
})
6868

0 commit comments

Comments
 (0)