Skip to content

Commit b74ee80

Browse files
committed
Merge branch 'dev'
2 parents 9f02876 + 8bfdb93 commit b74ee80

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/java/com/ivory/ivory/config/ProdSecurityConfig.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
6262
"/v3/api-docs/**",
6363
"/actuator/health"
6464
).permitAll()
65-
.requestMatchers("/api/v1/auth/**","/api/v1/apply/payments/**").permitAll()
65+
.requestMatchers("/api/v1/auth/**","/api/v1/apply/payments/**","/ws/**").permitAll()
6666
.anyRequest().authenticated()
6767
);
6868
jwtSecurityConfig.configure(http);

src/main/java/com/ivory/ivory/config/WebSocketConfig.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ public void registerStompEndpoints(StompEndpointRegistry registry) {
2424
// WebSocket 연결 엔드포인트
2525
registry.addEndpoint("/ws")
2626
.setAllowedOriginPatterns(
27-
"*"
27+
"https://ivorygroup.click",
28+
"https://danpoong-ivory.vercel.app",
29+
"http://localhost:3000"
2830
);
2931
registry.addEndpoint("/ws")
3032
.setAllowedOriginPatterns(

0 commit comments

Comments
 (0)