We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31527d1 commit 28ce6cdCopy full SHA for 28ce6cd
src/main/java/workplate/workplateserver/config/SecurityConfig.java
@@ -46,12 +46,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
46
http
47
.authorizeHttpRequests(auth -> auth
48
.requestMatchers("/", "/api/join", "/api/login").permitAll()
49
- // h2 허용
50
- .requestMatchers(PathRequest.toH2Console()).permitAll()
51
.anyRequest().authenticated()
52
- )
53
54
- .headers(headers -> headers.frameOptions(HeadersConfigurer.FrameOptionsConfig::sameOrigin));
+ );
55
56
.csrf(AbstractHttpConfigurer::disable)
57
.formLogin(AbstractHttpConfigurer::disable)
0 commit comments