@modern-js/server 2.32.1 → 2.32.2-alpha.0

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.
@@ -20,7 +20,8 @@ async function workerSSRRender(ctx, renderOptions, _runner) {
20
20
  timeout: 5e3,
21
21
  responseType: "text",
22
22
  headers,
23
- params
23
+ params,
24
+ adapter: require("axios/lib/adapters/http")
24
25
  });
25
26
  return {
26
27
  content: resposne.data,
@@ -21,7 +21,8 @@ function _workerSSRRender() {
21
21
  timeout: 5e3,
22
22
  responseType: "text",
23
23
  headers: headers,
24
- params: params
24
+ params: params,
25
+ adapter: require("axios/lib/adapters/http")
25
26
  })
26
27
  ];
27
28
  case 1:
@@ -9,7 +9,8 @@ export async function workerSSRRender(ctx, renderOptions, _runner) {
9
9
  timeout: 5e3,
10
10
  responseType: "text",
11
11
  headers,
12
- params
12
+ params,
13
+ adapter: require("axios/lib/adapters/http")
13
14
  });
14
15
  return {
15
16
  content: resposne.data,
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.32.1",
18
+ "version": "2.32.2-alpha.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -89,8 +89,7 @@
89
89
  "sideEffects": false,
90
90
  "publishConfig": {
91
91
  "registry": "https://registry.npmjs.org/",
92
- "access": "public",
93
- "provenance": true
92
+ "access": "public"
94
93
  },
95
94
  "scripts": {
96
95
  "new": "modern-lib new",