ttousai/chat-example — pull request #1 by stvrbbns (2014-11-09 19:46:17+00:00)
Title: sendFile requires absolute path or specified root

Just replacing "sendfile" with "sendFile" results in "TypeError: path must be absolute or specify root to res.sendFile". I think specifying an absolute path utilizing the __dirname Node.js global is best, rather than introducing the options object for sendFile.
http://nodejs.org/docs/latest/api/globals.html#globals_dirname
http://expressjs.com/api.html#res.sendFile