diff --git a/backend/src/main/java/io/metersphere/config/ShiroConfig.java b/backend/src/main/java/io/metersphere/config/ShiroConfig.java index 54505fc49b..ddc9ad8e2c 100644 --- a/backend/src/main/java/io/metersphere/config/ShiroConfig.java +++ b/backend/src/main/java/io/metersphere/config/ShiroConfig.java @@ -44,7 +44,7 @@ public class ShiroConfig implements EnvironmentAware { Map filterChainDefinitionMap = shiroFilterFactoryBean.getFilterChainDefinitionMap(); ShiroUtils.loadBaseFilterChain(filterChainDefinitionMap); filterChainDefinitionMap.put("/display/info", "anon"); - filterChainDefinitionMap.put("/display/file/*", "anon"); + filterChainDefinitionMap.put("/display/file/**", "anon"); filterChainDefinitionMap.put("/**", "apikey, authc"); return shiroFilterFactoryBean; } diff --git a/frontend/src/business/App.vue b/frontend/src/business/App.vue index 41cb26562f..aff282cd88 100644 --- a/frontend/src/business/App.vue +++ b/frontend/src/business/App.vue @@ -7,8 +7,7 @@ - -