mirror of
https://github.com/201206030/novel-plus.git
synced 2025-04-26 17:20:52 +00:00
perf: 设置网站 ico 图标
This commit is contained in:
parent
0332802fe5
commit
5543e5aa57
@ -68,6 +68,7 @@ public class ShiroConfig {
|
||||
filterChainDefinitionMap.put("/js/**", "anon");
|
||||
filterChainDefinitionMap.put("/fonts/**", "anon");
|
||||
filterChainDefinitionMap.put("/img/**", "anon");
|
||||
filterChainDefinitionMap.put("/favicon.ico", "anon");
|
||||
filterChainDefinitionMap.put("/docs/**", "anon");
|
||||
filterChainDefinitionMap.put("/layuimini/**", "anon");
|
||||
filterChainDefinitionMap.put("/upload/**", "anon");
|
||||
|
BIN
novel-admin/src/main/resources/favicon.ico
Normal file
BIN
novel-admin/src/main/resources/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 162 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.9 KiB |
@ -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 |
Loading…
x
Reference in New Issue
Block a user