From afcbc04b779420bb61d5ec81586656a2eb72720d Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Wed, 12 Nov 2014 11:58:20 -0300 Subject: [PATCH] update to sendFile --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index ea1e50f42..6f73755f4 100644 --- a/app.js +++ b/app.js @@ -4,7 +4,7 @@ var app = express(); app.use('/', express.static(__dirname + '/')); app.get('*', function(req, res) { - return res.sendfile('index.html'); + return res.sendFile('index.html'); }); app.start = function(port, callback) {