1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

Modify the sentinelInterceptor default interception rule and backward compatibility

This commit is contained in:
冷冷 2020-02-18 16:16:23 +08:00
parent 88b8319eda
commit 8911f253d4

View File

@ -343,9 +343,9 @@ public class SentinelProperties {
private int order = Ordered.HIGHEST_PRECEDENCE; private int order = Ordered.HIGHEST_PRECEDENCE;
/** /**
* URL pattern for SentinelWebInterceptor, default is /*. * URL pattern for SentinelWebInterceptor, default is /**.
*/ */
private List<String> urlPatterns = Arrays.asList("/*"); private List<String> urlPatterns = Arrays.asList("/**");
/** /**
* Enable to instance * Enable to instance