Skip to content

Commit

Permalink
test: fix https apply favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
toychip committed Jan 22, 2024
1 parent 35b5a16 commit b7caf8b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.requestMatchers(
"/swagger-ui/**"
,"/oauth/**"
,"/**/favicon.ico"
,"/favicon.ico"
,"/login/**"
, "/api/health"
, "/api/v1/search"
).permitAll()
.anyRequest().authenticated());

http.requiresChannel()
.requestMatchers("/**/favicon.ico").requiresSecure();
.requestMatchers("/favicon.ico").requiresSecure();

http
.oauth2Login()
Expand Down

0 comments on commit b7caf8b

Please sign in to comment.