nodejs中直接返回一个html的文件 cgctm6 2020-07-25 144 阅读1分钟 res.sendFile(__dirname+'/ind.html') // 使用sendFile() #www.expressjs.com.cn/4x/api.html…