add root difr

This commit is contained in:
Matias Alejo Garcia 2014-11-12 12:10:46 -03:00
parent afcbc04b77
commit aec8b41022
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -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) {