Skip to content

Commit 9c574d5

Browse files
authored
Merge pull request #1590 from lowcoder-org/meta_endpoint_fix
fixed endpoint 404 meta
2 parents 0e2f420 + 5f5ea53 commit 9c574d5

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

Lines changed: 2 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy