From aec8b4102216663020688289dbb7087a6858fd13 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Wed, 12 Nov 2014 12:10:46 -0300 Subject: [PATCH] add root difr --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 6f73755f4..8f935738c 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(__dirname + '/' + 'index.html'); }); app.start = function(port, callback) {