Skip to content

Commit

Permalink
🔒 : expose public resources
Browse files Browse the repository at this point in the history
  • Loading branch information
juwit committed Aug 20, 2019
1 parent 46cf3f8 commit fe582f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/io/codeka/gaia/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ protected void configure(HttpSecurity http) throws Exception {
.csrf().disable()
.authorizeRequests()
.antMatchers("/api/**").permitAll()
.antMatchers("/webjars/**").permitAll()
.antMatchers("/css/**", "/js/**", "/favicon.ico", "/images/**").permitAll()
.antMatchers("/**").authenticated()
.and()
.formLogin().permitAll()
Expand Down

0 comments on commit fe582f7

Please sign in to comment.