xshell 1.2.78 → 1.2.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/react.development.js +73 -69
- package/react.development.js.map +1 -1
- package/react.production.js +1146 -1146
- package/react.production.js.map +1 -1
- package/server.js +7 -7
package/server.js
CHANGED
|
@@ -509,13 +509,13 @@ export class Server {
|
|
|
509
509
|
? filter_values({ ..._queries, ...queries })
|
|
510
510
|
: _queries,
|
|
511
511
|
body,
|
|
512
|
-
headers: (
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
512
|
+
headers: filter_values({
|
|
513
|
+
...headers,
|
|
514
|
+
// 防止出现 https 证书和源请求对不上的问题
|
|
515
|
+
host: null,
|
|
516
|
+
'x-forwarded-for': x_forwarded_for,
|
|
517
|
+
...headers_
|
|
518
|
+
}),
|
|
519
519
|
raw: true,
|
|
520
520
|
redirect,
|
|
521
521
|
timeout,
|