aggiunto similarity artist e poplocaleassoluta

This commit is contained in:
matteo
2019-02-19 23:31:07 +01:00
parent a4752a42da
commit 0340f45cd7
9 changed files with 274 additions and 28 deletions
+3
View File
@@ -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())
});