Spaces:
Building
Building
waxihiv547
commited on
Commit
•
adf0255
1
Parent(s):
3f62408
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 |
-
|
11 |
return proxyReqOpts;
|
12 |
},
|
13 |
}));
|
|
|
7 |
app.use('/', proxy(targetUrl, {
|
8 |
https: true,
|
9 |
proxyReqOptDecorator: (proxyReqOpts, srcReq) => {
|
10 |
+
console.log(srcReq, proxyReqOpts);
|
11 |
return proxyReqOpts;
|
12 |
},
|
13 |
}));
|