@opensumi/ide-express-file-server 2.19.2-rc-1658496358.0 → 2.19.3

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.
@@ -12,7 +12,7 @@ let ExpressFileServerContribution = class ExpressFileServerContribution {
12
12
  scheme: ide_core_browser_1.Schemes.file,
13
13
  resolveStaticResource: (uri) => {
14
14
  // file 协议统一走静态服务
15
- // http://${HOST}:8000/assets/${path}
15
+ // http://0.0.0.0:8000/assets/${path}
16
16
  const assetsUri = new ide_core_browser_1.URI(this.appConfig.staticServicePath || common_1.EXPRESS_SERVER_PATH);
17
17
  /**
18
18
  * uri.path 在 Windows 下会被解析为 /c:/Path/to/file
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,OAAO,CAAC;AACxC,eAAO,MAAM,mBAAmB,QAA+E,CAAC;AAEhH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;CAetB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,OAAO,CAAC;AACxC,eAAO,MAAM,mBAAmB,QAAkF,CAAC;AAEnH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;CAetB,CAAC"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ALLOW_MIME = exports.EXPRESS_SERVER_PATH = exports.EXPRESS_SERVER_PORT = void 0;
4
4
  exports.EXPRESS_SERVER_PORT = 8000;
5
- exports.EXPRESS_SERVER_PATH = process.env.STATIC_SERVER_PATH || `http://127.0.0.1:${exports.EXPRESS_SERVER_PORT}/`;
5
+ exports.EXPRESS_SERVER_PATH = process.env.STATIC_SERVER_PATH || 'http://0.0.0.0:' + exports.EXPRESS_SERVER_PORT + '/';
6
6
  // 静态服务资源白名单
7
7
  exports.ALLOW_MIME = {
8
8
  gif: 'image/gif',
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;AAAa,QAAA,mBAAmB,GAAG,IAAI,CAAC;AAC3B,QAAA,mBAAmB,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,IAAI,oBAAoB,2BAAmB,GAAG,CAAC;AAChH,YAAY;AACC,QAAA,UAAU,GAAG;IACxB,GAAG,EAAE,WAAW;IAChB,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,WAAW;IAChB,GAAG,EAAE,eAAe;IACpB,GAAG,EAAE,UAAU;IACf,GAAG,EAAE,UAAU;IACf,GAAG,EAAE,UAAU;IACf,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,YAAY;IACnB,EAAE,EAAE,wBAAwB;IAC5B,GAAG,EAAE,UAAU;IACf,GAAG,EAAE,WAAW;IAChB,GAAG,EAAE,WAAW;IAChB,IAAI,EAAE,YAAY;CACnB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;AAAa,QAAA,mBAAmB,GAAG,IAAI,CAAC;AAC3B,QAAA,mBAAmB,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,IAAI,iBAAiB,GAAG,2BAAmB,GAAG,GAAG,CAAC;AACnH,YAAY;AACC,QAAA,UAAU,GAAG;IACxB,GAAG,EAAE,WAAW;IAChB,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,WAAW;IAChB,GAAG,EAAE,eAAe;IACpB,GAAG,EAAE,UAAU;IACf,GAAG,EAAE,UAAU;IACf,GAAG,EAAE,UAAU;IACf,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,YAAY;IACnB,EAAE,EAAE,wBAAwB;IAC5B,GAAG,EAAE,UAAU;IACf,GAAG,EAAE,WAAW;IAChB,GAAG,EAAE,WAAW;IAChB,IAAI,EAAE,YAAY;CACnB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensumi/ide-express-file-server",
3
- "version": "2.19.2-rc-1658496358.0",
3
+ "version": "2.19.3",
4
4
  "files": [
5
5
  "lib"
6
6
  ],
@@ -16,16 +16,16 @@
16
16
  "url": "git@github.com:opensumi/core.git"
17
17
  },
18
18
  "dependencies": {
19
- "@opensumi/ide-core-common": "2.19.2-rc-1658496358.0",
20
- "@opensumi/ide-core-node": "2.19.2-rc-1658496358.0",
21
- "@opensumi/ide-static-resource": "2.19.2-rc-1658496358.0",
19
+ "@opensumi/ide-core-common": "2.19.3",
20
+ "@opensumi/ide-core-node": "2.19.3",
21
+ "@opensumi/ide-static-resource": "2.19.3",
22
22
  "koa-mount": "^4.0.0"
23
23
  },
24
24
  "devDependencies": {
25
- "@opensumi/ide-core-browser": "2.19.2-rc-1658496358.0",
25
+ "@opensumi/ide-core-browser": "2.19.3",
26
26
  "@opensumi/ide-dev-tool": "^1.3.1",
27
27
  "@types/koa-mount": "^4.0.1",
28
28
  "superagent": "^5.1.0"
29
29
  },
30
- "gitHead": "0cbb0a6bf04c622a65d965462224510332272d20"
30
+ "gitHead": "27cfb92d5a414758e4492cd4e12014f0c7b0a1b0"
31
31
  }