Skip to content

Commit

Permalink
fix(global): default html send fixed 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBrisorgueil committed Apr 12, 2019
1 parent 5c2c64a commit 3a63aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ module.exports.initModulesServerRoutes = (app) => {
require(path.resolve(routePath))(app);
});
app.get('*', (req, res) => {
res.sendFile(path.resolve('./public/index.html'));
res.send('<center><br /><h1>WAOS Node Api</h1><h3>Available on /api. #LetsGetTogether</h3></center>');
});
};

Expand Down

0 comments on commit 3a63aae

Please sign in to comment.