newStaffLDB-API #48

Merged
fred.boniface merged 85 commits from newStaffLDB-API into main 2023-10-03 21:35:03 +01:00
Showing only changes of commit eb1245c42a - Show all commits

3
app.js
View File

@ -54,6 +54,9 @@ log.out(
"init" "init"
); );
// Remove X-Powered-By header:
app.disable('x-powered-by');
// Express Error Handling: // Express Error Handling:
app.use((err, req, res, next) => { app.use((err, req, res, next) => {
const statusCode = err.statuscode || 500; const statusCode = err.statuscode || 500;