Why Resource interpreted as Document but transferred with MIME through res.download?

前端 未结 0 1518
逝去的感伤
逝去的感伤 2021-02-03 11:03

I am using express API to send a file from the server the the request as such :

app.get(\'/download\', async (req, res)=> {
  res.download(`${__dirname}/dl/myf         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题