express nodejs send several files via send file

Asked

Viewed 2 times

0

as I send 2 files to the site by sendFile , I’ve been trying to do this all day and trying to find a post that helps me and found nothing

    //ms.pipe(requisicao, resposta,[__dirname + '/index.html',__dirname +  "/som.mp3"]);
resposta.sendFile(__dirname +  "/som.mp3",__dirname + '/index.html')
})```
  • Please clarify your problem or provide additional details in order to highlight exactly what you need. The way it’s written these days it’s hard to tell exactly what you’re asking.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.