@next-core/brick-kit 2.178.2 → 2.178.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.
package/dist/index.esm.js
CHANGED
|
@@ -11952,6 +11952,11 @@ class Router {
|
|
|
11952
11952
|
} else if (isHttpAbortError(error)) {
|
|
11953
11953
|
return;
|
|
11954
11954
|
} else {
|
|
11955
|
+
var noAuthGuardLoginPath = getRuntime().getMiscSettings().noAuthGuardLoginPath;
|
|
11956
|
+
if (isUnauthenticatedError(error) && noAuthGuardLoginPath) {
|
|
11957
|
+
history.replace(noAuthGuardLoginPath);
|
|
11958
|
+
return;
|
|
11959
|
+
}
|
|
11955
11960
|
yield _this3.kernel.layoutBootstrap(layoutType);
|
|
11956
11961
|
var brickPageError = _this3.kernel.presetBricks.pageError;
|
|
11957
11962
|
yield _this3.kernel.loadDynamicBricks([brickPageError]);
|