perf: 设置网站 ico 图标

This commit is contained in:
xiongxiaoyang
2023-10-15 20:30:11 +08:00
parent 0332802fe5
commit 5543e5aa57
5 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@ public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
http.csrf().disable()
.authorizeRequests()
.antMatchers("/css/**").permitAll()
.antMatchers("/favicon.ico").permitAll()
.antMatchers("/**").hasRole("ADMIN")
.and().formLogin().loginPage("/login.html").loginProcessingUrl("/login").permitAll()
.and().logout()

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB