Added subfolders to static
This commit is contained in:
parent
62b0a1ae0d
commit
dc9d022f08
@ -25,7 +25,7 @@ import java.io.Serializable
|
||||
@Configuration
|
||||
class SecurityConfig @Autowired constructor(val userDetailsService: UserDetailsServiceImpl) : WebSecurityConfigurerAdapter() {
|
||||
override fun configure(http: HttpSecurity) {
|
||||
http.authorizeRequests().antMatchers("/", "/*.jpg", "/*.svg", "/register").permitAll()
|
||||
http.authorizeRequests().antMatchers("/", "/img/*", "/js/*", "/register").permitAll()
|
||||
.anyRequest().authenticated().and()
|
||||
.formLogin().loginPage("/login").permitAll().and()
|
||||
.logout().logoutSuccessUrl("/").permitAll().and()
|
||||
|
Before Width: | Height: | Size: 435 KiB After Width: | Height: | Size: 435 KiB |
@ -7,7 +7,7 @@
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center mt-3">
|
||||
<div class="col text-center">
|
||||
<img alt="landing page" class="w-25 rounded-3" src="" th:src="@{/landing_1.jpg}"/>
|
||||
<img alt="landing page" class="w-25 rounded-3" src="" th:src="@{/img/landing_1.jpg}"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
Loading…
Reference in New Issue
Block a user