于紫祥_1901
2020-11-06 9b02f67b17b9dcbd798862021ac0a516d1ba69b3
src/main/java/com/moral/security/config/WebSecurityConfig.java
@@ -121,6 +121,8 @@
                .antMatchers(permitAllEndpointList.toArray(new String[permitAllEndpointList.size()]))
                .permitAll()
            .and()
                .headers().frameOptions().disable()
            .and()
                .authorizeRequests()
                .antMatchers(API_ROOT_URL).authenticated() // Protected API End-points
            .and()