mirror of
https://github.com/cheveguerra/whatsapp-api-tutorial.git
synced 2026-04-17 19:36:59 +00:00
Disabling file-upload debug
This commit is contained in:
10
app.js
10
app.js
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user