@midwayjs/web 3.17.1 → 3.18.2

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.
@@ -181,6 +181,7 @@ let MidwayWebFramework = class MidwayWebFramework extends core_1.BaseFramework {
181
181
  serverOptions.key = core_1.PathFileUtil.getFileContentSync(serverOptions.key);
182
182
  serverOptions.cert = core_1.PathFileUtil.getFileContentSync(serverOptions.cert);
183
183
  serverOptions.ca = core_1.PathFileUtil.getFileContentSync(serverOptions.ca);
184
+ process.env.MIDWAY_HTTP_SSL = 'true';
184
185
  if (serverOptions.http2) {
185
186
  this.server = require('http2').createSecureServer(serverOptions, this.app.callback());
186
187
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/web",
3
- "version": "3.17.1",
3
+ "version": "3.18.2",
4
4
  "description": "Midway Web Framework for Egg.js",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "license": "MIT",
30
30
  "devDependencies": {
31
31
  "@midwayjs/logger": "^3.0.0",
32
- "@midwayjs/mock": "^3.17.1",
32
+ "@midwayjs/mock": "^3.18.2",
33
33
  "dayjs": "1.11.13",
34
34
  "egg-logger": "3.5.0",
35
35
  "egg-mock": "4.2.1",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@eggjs/router": "^2.0.0",
48
- "@midwayjs/core": "^3.17.1",
48
+ "@midwayjs/core": "^3.18.0",
49
49
  "egg": "^2.28.0",
50
50
  "egg-cluster": "^1.27.1",
51
51
  "find-up": "5.0.0",
@@ -60,5 +60,5 @@
60
60
  "engines": {
61
61
  "node": ">=12"
62
62
  },
63
- "gitHead": "824d8474a425b342fcd4480649c83677f846afb9"
63
+ "gitHead": "0cf1ac5a107aa1de73ff184f403cba2be0a408f4"
64
64
  }