Compare commits
No commits in common. "52ac5b73e42574c76f124618999d044fe9db714b" and "657b44c12220142e3b85cba48264b49c87ef9ad5" have entirely different histories.
52ac5b73e4
...
657b44c122
1 changed files with 0 additions and 2 deletions
|
@ -19,11 +19,9 @@ 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);
|
||||
|
|
Loading…
Reference in a new issue