fix: errorのときもindexになってしまうためerrorのときのみ除外するように

This commit is contained in:
usbharu 2024-09-06 17:42:06 +09:00
parent 4d86cc0e41
commit 4acc1653d1
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
1 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,10 @@ class SPAInterceptor : HandlerInterceptor {
handler: Any, handler: Any,
modelAndView: ModelAndView? modelAndView: ModelAndView?
) { ) {
if (modelAndView?.viewName == "error") {
return
}
if (request.session.getAttribute("s") == "f") { if (request.session.getAttribute("s") == "f") {
return return
} }