Skip to content

Commit

Permalink
cors enabled cyclic-software#1
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidibnu committed Nov 2, 2022
1 parent bded182 commit 9a3acab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ app.get('/:col', async (req, res) => {
res.json(items).end()
})
//
app.get('/status/',cors,async (req,res)=>{
app.get('/status/',cors(),async (req,res)=>{
res.json(APIMANGROVE())
})

Expand Down

0 comments on commit 9a3acab

Please sign in to comment.