diff --git a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/springframework/SPAInterceptor.kt b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/springframework/SPAInterceptor.kt index 83df1836..b3a6eeb0 100644 --- a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/springframework/SPAInterceptor.kt +++ b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/springframework/SPAInterceptor.kt @@ -25,6 +25,10 @@ class SPAInterceptor : HandlerInterceptor { handler: Any, modelAndView: ModelAndView? ) { + if (modelAndView?.viewName == "error") { + return + } + if (request.session.getAttribute("s") == "f") { return }