File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
java/com/daramg/server/auth/filter Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,11 @@ public class JwtAuthorizationFilter extends OncePerRequestFilter {
3838 @ Value ("${cookie.access-name}" )
3939 public String ACCESS_COOKIE_NAME ;
4040
41+ @ Override
42+ protected boolean shouldNotFilter (@ NotNull HttpServletRequest request ) {
43+ return "OPTIONS" .equalsIgnoreCase (request .getMethod ());
44+ }
45+
4146 @ Override
4247 protected void doFilterInternal (@ NotNull HttpServletRequest request ,
4348 @ NotNull HttpServletResponse response ,
Original file line number Diff line number Diff line change 4646 - " https://client-amber-sigma.vercel.app"
4747 - " https://client-kwongeonwoos-projects.vercel.app"
4848 - " https://www.classicaldaramg.com"
49- - " https://classicaldaramg.com"
49+ - " https://classicaldaramg.com"
50+ - " https://www.classicaldaramz.com"
51+ - " https://classicaldaramz.com"
You canโt perform that action at this time.
0 commit comments