Archived
aggiunto similarity artist e poplocaleassoluta
This commit is contained in:
@@ -62,6 +62,9 @@ low(new FileAsync(__dirname + '/db.json')) // production
|
||||
|
||||
// GET /videotrack
|
||||
app.get('/videotrack', (req, res) => {
|
||||
res.set({
|
||||
'Access-Control-Allow-Origin': '*'
|
||||
});
|
||||
const videos = db.get('videos');
|
||||
req.query.id ? res.send(videos.getById(req.query.id).value()) : res.send(videos.value())
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user