Skip to content

Commit 6b2f7f3

Browse files
committed
1 parent ea60ef6 commit 6b2f7f3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,13 @@ app.get('/:col', async (req, res) => {
6161
console.log(JSON.stringify(items, null, 2))
6262
res.json(items).end()
6363
})
64+
//
65+
app.get('/status',cors,async (req,res)=>{
66+
res.json(APIMANGROVE())
67+
})
6468

6569
// Catch all handler for all other request.
66-
app.use('*', (req, res) => {
70+
app.get('*', (req, res) => {
6771
res.json(APIMANGROVE())
6872
})
6973

0 commit comments

Comments
 (0)