ardasen commited on
Commit
f334d87
·
1 Parent(s): 8d87492

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -7
server.js CHANGED
@@ -10,13 +10,7 @@ const baseUrl = getExternalUrl(process.env.SPACE_ID);
10
 
11
  app.use(bodyParser.json({ limit: '50mb' }));
12
 
13
- // Middleware to log request details
14
- app.use((req, res, next) => {
15
- console.log(`Incoming Request - Method: ${req.method}, URL: ${req.url}`);
16
- console.log('Headers:', req.headers);
17
- console.log('Body:', req.body);
18
- next();
19
- });
20
 
21
 
22
  // Middleware to authenticate requests with the proxy key and check the model
 
10
 
11
  app.use(bodyParser.json({ limit: '50mb' }));
12
 
13
+
 
 
 
 
 
 
14
 
15
 
16
  // Middleware to authenticate requests with the proxy key and check the model