return streamnames as json
This commit is contained in:
parent
1c8cbef051
commit
eb79e8c7fb
@ -9,7 +9,7 @@ router.get('/', async function (req, res, next) {
|
||||
res.send('Cookie Not Set')
|
||||
} else {
|
||||
let data = await getStreamNames()
|
||||
res.send(data)
|
||||
res.json(data)
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user