File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/misc Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,7 @@ public class ApiFlowController implements ApiFlowEndpoints
26
26
@ Override
27
27
public Mono <String > flow (FlowRequest flowRequest ) {
28
28
try {
29
- String url ;
30
- if (StringUtils .isEmpty (flowRequest .host ())) url = "https://flow.lowcoder.cloud/" + flowRequest .path ();
31
- else url = flowRequest .host () + "/" + flowRequest .path ();
29
+ String url = "https://flow.lowcoder.cloud/" + flowRequest .path ();
32
30
ObjectMapper objectMapper = new ObjectMapper ();
33
31
String jsonBody = objectMapper .writeValueAsString (flowRequest .data ());
34
32
return WebClientBuildHelper .builder ()
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ public interface ApiFlowEndpoints
30
30
public record FlowRequest (String path ,
31
31
String method ,
32
32
Map <String , Object > data ,
33
- Map <String , String > headers ,
34
- @ Nullable String host ) {
33
+ Map <String , String > headers ) {
35
34
}
36
35
}
You can’t perform that action at this time.
0 commit comments