Skip to content

Commit

Permalink
🔐 login api add at PublicUrl
Browse files Browse the repository at this point in the history
Related: #5
  • Loading branch information
L-U-Ready committed Oct 11, 2024
1 parent 0c4f1f9 commit e84ace9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ private String resolveTokenFromCookie(HttpServletRequest request) {

private boolean isPublicUrl(String requestUrl) {
return requestUrl.equals("/api") ||
requestUrl.equals("/api/login") ||
requestUrl.equals("/api/signup") ||
requestUrl.equals("/api/v1/accounts") ||
requestUrl.equals("/api/v1/accounts/createAccount") ||
requestUrl.equals("/api/v1/accounts/verify") ||
requestUrl.startsWith("/api/kindergartens/**") ||
requestUrl.startsWith("/swagger-ui/**") ||
requestUrl.startsWith("/swagger-resources/**") ||
Expand Down

0 comments on commit e84ace9

Please sign in to comment.