Skip to content

Commit

Permalink
refactor: 웹소켓 연결시 시큐리티 허용
Browse files Browse the repository at this point in the history
웹소켓 연결시 시큐리티 허용
  • Loading branch information
Programmer-may committed Jan 24, 2024
1 parent ff68fac commit c31b74e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,17 @@ public class SecurityConfig {

private static final String[] PERMIT_PATHS = {
"/auth", "/auth/**", "/login/**",
"/oauth2/**", "/signin/**", "/error/**"
"/oauth2/**", "/signin/**", "/error/**",
"/ws-stomp", "/ws-stomp/**"
};

private static final String[] PERMIT_PATHS_POST_METHOD = {
"/accommodations/**", "/orders"
};

private static final String[] PERMIT_PATHS_GET_METHOD = {
"/products", "/products/**"
"/products", "/products/**",
"/ws-stomp", "/ws-stomp/**"
};

private static final String[] ALLOW_ORIGINS = {
Expand Down

0 comments on commit c31b74e

Please sign in to comment.