return streamnames as json

This commit is contained in:
Karl 2025-07-09 11:35:49 +01:00
parent 1c8cbef051
commit eb79e8c7fb

View File

@ -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)
}
});