Spaces:
Building
Building
waxihiv547
commited on
Commit
•
196b3e4
1
Parent(s):
233855e
Update server.js
Browse files
server.js
CHANGED
@@ -7,7 +7,7 @@ const port = 7860;
|
|
7 |
app.use('/', proxy(targetUrl, {
|
8 |
https: true,
|
9 |
proxyReqOptDecorator: (proxyReqOpts, srcReq) => {
|
10 |
-
console.log(srcReq, proxyReqOpts);
|
11 |
proxyReqOpts.headers['x-forwarded-for'] = '98.102.88.158';
|
12 |
return proxyReqOpts;
|
13 |
},
|
|
|
7 |
app.use('/', proxy(targetUrl, {
|
8 |
https: true,
|
9 |
proxyReqOptDecorator: (proxyReqOpts, srcReq) => {
|
10 |
+
// console.log(srcReq, proxyReqOpts);
|
11 |
proxyReqOpts.headers['x-forwarded-for'] = '98.102.88.158';
|
12 |
return proxyReqOpts;
|
13 |
},
|