Commit 87392a48 authored by Vu Duy Anh's avatar Vu Duy Anh

anhvd commit cors

parent a3114bcf
...@@ -30,7 +30,7 @@ public class CorsFilter implements Filter { ...@@ -30,7 +30,7 @@ public class CorsFilter implements Filter {
HttpServletRequest request = (HttpServletRequest) req; HttpServletRequest request = (HttpServletRequest) req;
chain.doFilter(req, response); // chain.doFilter(req, response);
if ("OPTIONS".equalsIgnoreCase(request.getMethod())) { if ("OPTIONS".equalsIgnoreCase(request.getMethod())) {
chain.doFilter(req, resp); chain.doFilter(req, resp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment