i use feathersjs on my backend and i encountered the problem of downloading files: look to my code
app.get('/download',(req,res, next) => {
res.sendFile(path.join(app.get('public'), 'output.xlsx'));
});
and in response of browser i see
i try to send example package.json and this is result:
i try to use res.download()
but the result is the same. Why i can not download file on my browser?