Skip to content

example文件夹下的simple.js例子中存在错误. #25

Description

@chenming142
http.createServer(function(req, res){
//TODO : 这里少了个 req 参数.
  send(req, req.url)
  .from(__dirname + '/public')
  .maxage(60000)
  .pipe(res);
}).listen(3000);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions