render html file from express server code example Example: how to send html file with express Click to copyres.sendFile(path.join(__dirname + '/index.html'));