mirror of
https://github.com/201206030/novel-plus.git
synced 2025-06-24 04:46:37 +00:00
perf: 设置网站 ico 图标
This commit is contained in:
@ -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()
|
||||
|
BIN
novel-crawl/src/main/resources/favicon.ico
Normal file
BIN
novel-crawl/src/main/resources/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 162 KiB |
Reference in New Issue
Block a user