Spaces:
Sleeping
Sleeping
Update app.js
Browse files
app.js
CHANGED
|
@@ -43,6 +43,8 @@ const app = express();
|
|
| 43 |
const PORT = process.env.PORT || 7860;
|
| 44 |
|
| 45 |
// ---
|
|
|
|
|
|
|
| 46 |
app.use((req, res, next) => {
|
| 47 |
console.log('[REQ]', req.method, req.originalUrl);
|
| 48 |
console.log('[HEADERS]', req.headers);
|
|
@@ -50,6 +52,8 @@ app.use((req, res, next) => {
|
|
| 50 |
next();
|
| 51 |
});
|
| 52 |
|
|
|
|
|
|
|
| 53 |
// ---
|
| 54 |
|
| 55 |
|
|
|
|
| 43 |
const PORT = process.env.PORT || 7860;
|
| 44 |
|
| 45 |
// ---
|
| 46 |
+
/*
|
| 47 |
+
|
| 48 |
app.use((req, res, next) => {
|
| 49 |
console.log('[REQ]', req.method, req.originalUrl);
|
| 50 |
console.log('[HEADERS]', req.headers);
|
|
|
|
| 52 |
next();
|
| 53 |
});
|
| 54 |
|
| 55 |
+
*/
|
| 56 |
+
|
| 57 |
// ---
|
| 58 |
|
| 59 |
|