node.js关于sendFile的路径问题,以及与send的区别
https://www.cnblogs.com/agen-su/articles/7762568.html
send就是向页面发送文本
module.exports = function (app) {
app.get('/', function (req, res) {
res.send("hello world!")
});
}
https://www.cnblogs.com/agen-su/articles/7762568.html
send就是向页面发送文本
module.exports = function (app) {
app.get('/', function (req, res) {
res.send("hello world!")
});
}