|
|
|
@@ -22,8 +22,13 @@ public class RequestInterceptor implements HandlerInterceptor { |
|
|
|
if (uri.equals("/index.html")) { |
|
|
|
return true; |
|
|
|
} else if (uri.startsWith("/js/") || uri.startsWith("/manifest") || uri.startsWith("/img") || uri.startsWith("/fonts") || uri.startsWith("/css")) { |
|
|
|
|
|
|
|
return true; |
|
|
|
} else { |
|
|
|
if (uri.contains("obank_logo.svg")) { |
|
|
|
response.setContentType("image/svg+xml"); |
|
|
|
return true; |
|
|
|
} |
|
|
|
RequestDispatcher dispatcher = request.getRequestDispatcher("/index.html"); |
|
|
|
dispatcher.forward(request, response); |
|
|
|
return false; |
|
|
|
|