diff --git a/index.js b/index.js index 6ffcb1db..a322dca0 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ var http = require('http').Server(app); var io = require('socket.io')(http); app.get('/', function(req, res){ - res.sendfile('index.html'); + res.sendFile(__dirname + '/index.html'); }); io.on('connection', function(socket){