yakuza0 2.22.1-beta.0 → 2.22.1-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yakuza0",
3
- "version": "2.22.1-beta.0",
3
+ "version": "2.22.1-beta.2",
4
4
  "description": "yakuza0 with nuxt",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -347,7 +347,7 @@ exports.default = function () {
347
347
  while (1) {
348
348
  switch (_context.prev = _context.next) {
349
349
  case 0:
350
- if (!(ctx.method.toUpperCase() === 'GET' && ctx.path === '/sys/health-check')) {
350
+ if (!(ctx.method.toUpperCase() === 'GET' && (ctx.path === '/sys/health-check' || ctx.path === config.appConf.server.basePathMU + 'sys/health-check'))) {
351
351
  _context.next = 5;
352
352
  break;
353
353
  }
@@ -698,13 +698,11 @@ var render = function () {
698
698
  });
699
699
  }
700
700
 
701
- conf.router.config = _yakuza._.forEach(conf.router.config, function (v, k) {
701
+ conf.router.config = _yakuza._.mapValues(conf.router.config, function (v) {
702
702
  if (conf.inImage && conf.cmd === 'server container') {
703
703
  v.enabled = false;
704
704
  }
705
- // return v
706
- delete conf.router.config[k];
707
- conf.router.config[k.toLowerCase()] = _yakuza._.cloneDeep(v);
705
+ return v;
708
706
  });
709
707
 
710
708
  // env