Disabling file-upload debug

This commit is contained in:
Nur Muhammad
2022-07-08 20:34:47 +08:00
parent b16bf4a5e2
commit ec18a01736

10
app.js
View File

@@ -20,8 +20,16 @@ app.use(express.json());
app.use(express.urlencoded({
extended: true
}));
/**
* BASED ON MANY QUESTIONS
* Actually ready mentioned on the tutorials
*
* Many people confused about the warning for file-upload
* So, we just disabling the debug for simplicity.
*/
app.use(fileUpload({
debug: true
debug: false
}));
app.get('/', (req, res) => {