Docker build. Catch client routes on server. Initial config utility

This commit is contained in:
unknown 2021-06-07 13:40:51 +02:00
parent d2e6ebae4f
commit 1636b705de
10 changed files with 125 additions and 13 deletions

View file

@ -11,7 +11,7 @@ const errorHandler = (err, req, res, next) => {
// }
console.log(error);
console.log(`${err}`.bgRed);
console.log(`${err}`);
res.status(err.statusCode || 500).json({
success: false,