Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf43ed65

Browse files
author
Thomasr
committed
Delete env variable LOWCODER_NODE_SERVICE_ENCRYPTED
1 parent998e373 commitf43ed65

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

‎server/api-service/lowcoder-domain/src/main/java/org/lowcoder/domain/plugin/client/DatasourcePluginClient.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public Mono<QueryExecutionResult> executeQuery(String pluginName, Object queryDs
137137
);
138138
Stringjson =OBJECT_MAPPER.writeValueAsString(body);
139139

140-
booleanencryptionEnabled =commonConfig.getJsExecutor().isEncrypted();
140+
booleanencryptionEnabled =!(commonConfig.getJsExecutor().getPassword().isEmpty() ||commonConfig.getJsExecutor().getSalt().isEmpty());
141141
Stringpayload;
142142
WebClient.RequestBodySpecrequestSpec =WEB_CLIENT
143143
.post()

‎server/api-service/lowcoder-server/src/main/resources/application-debug.yaml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ common:
3737
cookie-name:LOWCODER_DEBUG_TOKEN
3838
js-executor:
3939
host:"http://127.0.0.1:6060"
40-
password:${LOWCODER_NODE_SERVICE_SECRET:lowcoderpwd}
41-
salt:${LOWCODER_NODE_SERVICE_SECRET_SALT:lowcodersalt}
42-
is-encrypted:${LOWCODER_NODE_SERVICE_ENCRYPTED:false}
40+
password:${LOWCODER_NODE_SERVICE_SECRET:}
41+
salt:${LOWCODER_NODE_SERVICE_SECRET_SALT:}
4342
workspace:
4443
mode:${LOWCODER_WORKSPACE_MODE:SAAS}
4544
plugin-dirs:

‎server/api-service/lowcoder-server/src/main/resources/application.yaml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,8 @@ common:
7474
corsAllowedDomainString:${LOWCODER_CORS_DOMAINS:*}
7575
js-executor:
7676
host:${LOWCODER_NODE_SERVICE_URL:http://127.0.0.1:6060}
77-
password:${LOWCODER_NODE_SERVICE_SECRET:lowcoderpwd}
78-
salt:${LOWCODER_NODE_SERVICE_SECRET_SALT:lowcodersalt}
79-
is-encrypted:${LOWCODER_NODE_SERVICE_ENCRYPTED:false}
77+
password:${LOWCODER_NODE_SERVICE_SECRET:}
78+
salt:${LOWCODER_NODE_SERVICE_SECRET_SALT:}
8079
max-query-request-size:${LOWCODER_MAX_REQUEST_SIZE:20m}
8180
max-query-response-size:${LOWCODER_MAX_REQUEST_SIZE:20m}
8281
max-upload-size:${LOWCODER_MAX_REQUEST_SIZE:20m}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp