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!")
});
}
posted @ 2020-04-01 22:49  TTtttt5  阅读(576)  评论(0编辑  收藏  举报