@@ -19,8 +19,8 @@ spring:
# 国际化资源文件路径
basename: i18n/messages
profiles:
- active: druid
-# active: prod
+# active: druid
+ active: prod
# 文件上传
servlet:
multipart:
@@ -115,7 +115,6 @@ public class SecurityConfig
// 静态资源,可匿名访问
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()
- .antMatchers("/hk/**").permitAll()
// 除上面外的所有请求全部需要鉴权认证
.anyRequest().authenticated();
})