提交 2b3849a9 authored 作者: huangxingyao's avatar huangxingyao

上级 c84cea91
...@@ -15,7 +15,7 @@ public class AppConfig extends WebMvcConfigurationSupport { ...@@ -15,7 +15,7 @@ public class AppConfig extends WebMvcConfigurationSupport {
@Override @Override
protected void addInterceptors(InterceptorRegistry registry) { protected void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(new PrometheusMetricsInterceptor()).addPathPatterns("/**"); registry.addInterceptor(new PrometheusMetricsInterceptor()).addPathPatterns("/**").excludePathPatterns("/webjars/**");
super.addInterceptors(registry); super.addInterceptors(registry);
} }
} }
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论