Skip to content

Commit 5f5ea53

Browse files
committed
fixed endpoint 404 meta
1 parent c8b9c18 commit 5f5ea53

File tree

1 file changed

+2
-0
lines changed
  • server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/framework/security

1 file changed

+2
-0
lines changed

server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/framework/security/SecurityConfig.java

+2
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {
112112
ServerWebExchangeMatchers.pathMatchers(HttpMethod.GET, ORGANIZATION_URL + "/*/datasourceTypes"), // datasource types
113113
ServerWebExchangeMatchers.pathMatchers(HttpMethod.GET, ORGANIZATION_URL + "/byuser/*"),
114114
ServerWebExchangeMatchers.pathMatchers(HttpMethod.GET, DATASOURCE_URL + "/jsDatasourcePlugins"),
115+
ServerWebExchangeMatchers.pathMatchers(HttpMethod.POST, META_URL + "/"),
115116

116117
ServerWebExchangeMatchers.pathMatchers(HttpMethod.GET, GITHUB_STAR),
117118

@@ -145,6 +146,7 @@ SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {
145146
ServerWebExchangeMatchers.pathMatchers(HttpMethod.GET, NewUrl.ORGANIZATION_URL + "/*/datasourceTypes"), // datasource types
146147
ServerWebExchangeMatchers.pathMatchers(HttpMethod.GET, NewUrl.ORGANIZATION_URL + "/byuser/*"),
147148
ServerWebExchangeMatchers.pathMatchers(HttpMethod.GET, NewUrl.DATASOURCE_URL + "/jsDatasourcePlugins"),
149+
ServerWebExchangeMatchers.pathMatchers(HttpMethod.POST, NewUrl.META_URL + "/"),
148150
ServerWebExchangeMatchers.pathMatchers(HttpMethod.GET, NewUrl.NPM_REGISTRY + "/**"),
149151
ServerWebExchangeMatchers.pathMatchers(HttpMethod.GET, "/api/docs/**")
150152
)

0 commit comments

Comments
 (0)