mirror of
https://github.com/pawelmalak/flame.git
synced 2025-04-25 06:17:12 -04:00
Docker build. Catch client routes on server. Initial config utility
This commit is contained in:
parent
d2e6ebae4f
commit
1636b705de
10 changed files with 125 additions and 13 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue