fix route when reload the page from the front-end
This commit is contained in:
parent
d98c7fab27
commit
344f543605
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue