Merge branch 'develop' of git.darkou.fr:dbroqua/MusicTopus into issue/1

This commit is contained in:
Damien Broqua 2022-03-05 21:02:55 +01:00
commit 52ac5b73e4

View file

@ -19,9 +19,11 @@ router
case "csv":
case "musictopus":
res.header("Content-Type", "text/csv");
res.attachment("export-musictopus.csv");
return res.status(200).send(data);
case "xml":
res.header("Content-type", "text/xml");
res.attachment("export-musictopus.xml");
return res.status(200).send(data);
case "xls":
return data.write("musictopus.xls", res);