mirror of https://github.com/usbharu/Hideout.git
fix: errorのときもindexになってしまうためerrorのときのみ除外するように
This commit is contained in:
parent
4d86cc0e41
commit
4acc1653d1
|
@ -25,6 +25,10 @@ class SPAInterceptor : HandlerInterceptor {
|
|||
handler: Any,
|
||||
modelAndView: ModelAndView?
|
||||
) {
|
||||
if (modelAndView?.viewName == "error") {
|
||||
return
|
||||
}
|
||||
|
||||
if (request.session.getAttribute("s") == "f") {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue