I create a .xls file in assets/xls directory :
fs.writeFileSync('./assets/xls/data.xls', xls, 'binary');
And I want to download this file :
To get the file url :
var downloadLink = req.headers.host+'/xls/data.xls';
I do not understant why I have a 404 error on this url :
localhost:1337/xls/data.xls