Skip to content

Commit

Permalink
fix: cors poc 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
DongGeon0908 committed Aug 21, 2024
1 parent dd6121b commit 475d08d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/main/kotlin/com/hero/alignlab/config/web/WebFluxConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,6 @@ class WebFluxConfig(
.allowedHeaders(CorsConfiguration.ALL)
.allowCredentials(true)
.maxAge(3600)

/** ws registry */
registry.addMapping("/ws/**")
.allowedOriginPatterns(CorsConfiguration.ALL)
.allowedMethods(CorsConfiguration.ALL)
.allowedHeaders(CorsConfiguration.ALL)
.allowCredentials(true)
.maxAge(3600)
}

override fun configureHttpMessageCodecs(configurer: ServerCodecConfigurer) {
Expand Down

0 comments on commit 475d08d

Please sign in to comment.