Skip to content

Commit

Permalink
[Fix][Doc] Fix jetty doc error (#7883)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangshenghang authored Oct 21, 2024
1 parent 1399193 commit 5cf307c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
12 changes: 7 additions & 5 deletions docs/en/seatunnel-engine/rest-api-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ The v2 version of the api uses jetty support. It is the same as the interface sp

seatunnel:
engine:
enable-http: true
port: 8080
http:
enable-http: true
port: 8080
```
Context-path can also be configured as follows:
Expand All @@ -27,9 +28,10 @@ Context-path can also be configured as follows:

seatunnel:
engine:
enable-http: true
port: 8080
context-path: /seatunnel
http:
enable-http: true
port: 8080
context-path: /seatunnel
```
## API reference
Expand Down
12 changes: 7 additions & 5 deletions docs/zh/seatunnel-engine/rest-api-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ v2版本的api使用jetty支持,与v1版本的接口规范相同 ,可以通过

seatunnel:
engine:
enable-http: true
port: 8080
http:
enable-http: true
port: 8080
```
同时也可以配置context-path,配置如下:
Expand All @@ -23,9 +24,10 @@ seatunnel:

seatunnel:
engine:
enable-http: true
port: 8080
context-path: /seatunnel
http:
enable-http: true
port: 8080
context-path: /seatunnel
```
## API参考
Expand Down

0 comments on commit 5cf307c

Please sign in to comment.