yakuza0 2.20.8 → 2.20.9

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yakuza0",
3
- "version": "2.20.8",
3
+ "version": "2.20.9",
4
4
  "description": "yakuza0 with nuxt",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -193,6 +193,7 @@ var render = function () {
193
193
  version: ykPkg.version,
194
194
  ak: 'ak_TjfAV7I',
195
195
  name: pkg.name,
196
+ group: '',
196
197
  dev: processEnv.NODE_ENV === 'development',
197
198
  cmd: process.env.NODE_CMD,
198
199
  processKey: '.' + (0, _yakuza.md5)(appDirectory).substring(2, 18),
@@ -725,6 +726,10 @@ var render = function () {
725
726
  }
726
727
  }
727
728
 
729
+ if (conf.group) {
730
+ conf.imageKey = (0, _yakuza.md5)(conf.group);
731
+ }
732
+
728
733
  if (conf.ak.startsWith('ak_docker') || conf.inImage) {
729
734
  // conf.env = 'docker';
730
735
  conf.server.mockIP = true;
@@ -772,11 +777,11 @@ var render = function () {
772
777
 
773
778
  conf.proxyServer.proxy.apiv2 = orbAddr;
774
779
  conf.proxyServer.proxy.apiv3 = orbAddr;
775
- conf.proxyServer.proxy['api-ws'] = orbAddr;
780
+ conf.proxyServer.proxy[conf.proxyServer.ws.key] = orbAddr;
776
781
 
777
782
  conf.server.csp.imgSrc = _yakuza._.uniq([].concat((0, _toConsumableArray3.default)(conf.server.csp.imgSrc || []), (0, _toConsumableArray3.default)(conf.server.tfs.fastdfs.domain)));
778
783
 
779
- _context2.next = 48;
784
+ _context2.next = 49;
780
785
  return _yakuza._.asyncMap(conf.router.config, function () {
781
786
  var _ref3 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee(v, key) {
782
787
  var name, arr, length, num;
@@ -933,7 +938,7 @@ var render = function () {
933
938
  };
934
939
  }());
935
940
 
936
- case 48:
941
+ case 49:
937
942
  // console.log(conf.router.config);
938
943
 
939
944
  conf.shareRule.app = conf.shareRule.app.map(function (ap) {
@@ -1014,7 +1019,7 @@ var render = function () {
1014
1019
 
1015
1020
  return _context2.abrupt('return', { conf: conf });
1016
1021
 
1017
- case 55:
1022
+ case 56:
1018
1023
  case 'end':
1019
1024
  return _context2.stop();
1020
1025
  }