xovakat commited on
Commit
46c6bef
1 Parent(s): 892460f

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -0
server.js CHANGED
@@ -11,6 +11,7 @@ app.use('/', proxy(targetUrl, {
11
  https: true,
12
  proxyReqOptDecorator: (proxyReqOpts, srcReq) => {
13
  // console.log(srcReq);
 
14
  return proxyReqOpts;
15
  },
16
  }));
 
11
  https: true,
12
  proxyReqOptDecorator: (proxyReqOpts, srcReq) => {
13
  // console.log(srcReq);
14
+ proxyReqOpts.headers['x-forwarded-for'] = '174.192.131.169';
15
  return proxyReqOpts;
16
  },
17
  }));