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 +1 -1
- package/server/proxy/csrf.js +1 -1
- package/utils/inclusive.js +2 -4
package/package.json
CHANGED
package/server/proxy/csrf.js
CHANGED
|
@@ -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
|
}
|
package/utils/inclusive.js
CHANGED
|
@@ -698,13 +698,11 @@ var render = function () {
|
|
|
698
698
|
});
|
|
699
699
|
}
|
|
700
700
|
|
|
701
|
-
conf.router.config = _yakuza._.
|
|
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
|
-
|
|
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
|