fix route when reload the page from the front-end

This commit is contained in:
Gustavo Cortez 2014-02-26 18:57:51 -03:00
parent d98c7fab27
commit 344f543605
1 changed files with 1 additions and 1 deletions

View File

@ -45,5 +45,5 @@ module.exports = function(app) {
//Home route
var index = require('../app/controllers/index');
app.get(apiPrefix + '/version', index.version);
app.get('/', index.render);
app.get('*', index.render);
};