Answers for "how to send html file with express"

7

how to send html file with express

res.sendFile(path.join(__dirname + '/index.html'));
Posted by: Guest on March-05-2020

Code answers related to "how to send html file with express"

Browse Popular Code Answers by Language