techpines / express.io

Realtime Micro Framework for Nodejs
express-io.org
1.59k stars 235 forks source link

Response.sendFile is undefined. Existing express applications must update it to "sendfile". #120

Open exceptDefeat opened 9 years ago

exceptDefeat commented 9 years ago

The documentation states that express.io is a clean drop-in replacement for express. Existing express code that uses Response.sendFile(), breaks when dropping replacing express with express.io.

The behavior is reproducible when installing express.io via npm. I haven't verified whether or not it exists in master in the git repo.

sibartlett commented 9 years ago

You can try my fork, which uses the latest version of express and socket.io: https://github.com/sibartlett/express.oi