randydev commited on
Commit
3893e2e
·
verified ·
1 Parent(s): 29d38ea

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -111,7 +111,7 @@ app.use(async (req, res, next) => {
111
  }
112
  await IPAddressAndUpdate(realIP);
113
  console.log(`Real IP address is: ${realIP}, header: ${xForwardedFor ? "x-forwarded-for" : xRealIP ? "x-real-ip" : cfConnectingIP ? "cf-connecting-ip" : "req.ip"} `);
114
- next();
115
  });
116
 
117
  app.get('/api/test', async (req, res) => {
 
111
  }
112
  await IPAddressAndUpdate(realIP);
113
  console.log(`Real IP address is: ${realIP}, header: ${xForwardedFor ? "x-forwarded-for" : xRealIP ? "x-real-ip" : cfConnectingIP ? "cf-connecting-ip" : "req.ip"} `);
114
+ await next();
115
  });
116
 
117
  app.get('/api/test', async (req, res) => {