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