Update server.js
Browse files
server.js
CHANGED
@@ -10,7 +10,7 @@ app.use('/', proxy(targetUrl, {
|
|
10 |
proxyReqOptDecorator: (proxyReqOpts, srcReq) => {
|
11 |
//console.log(srcReq);
|
12 |
// Modify the request headers if necessary
|
13 |
-
proxyReqOpts.headers['x-forwarded-for'] = '
|
14 |
return proxyReqOpts;
|
15 |
},
|
16 |
}));
|
|
|
10 |
proxyReqOptDecorator: (proxyReqOpts, srcReq) => {
|
11 |
//console.log(srcReq);
|
12 |
// Modify the request headers if necessary
|
13 |
+
proxyReqOpts.headers['x-forwarded-for'] = '51.15.78.180';
|
14 |
return proxyReqOpts;
|
15 |
},
|
16 |
}));
|