Docs: rename SETUP, INSTALL, CHANGES and GITEA-DESIGN to Chinese filenames
This commit is contained in:
+1
-1
@@ -158,7 +158,7 @@ Check dsh-superagent: run `scripts/dsh-superagent --profile superagent status` i
|
||||
|
||||
### Management API
|
||||
|
||||
面板使用一个本地 HTTP API,agent 也可以调用它。`SETUP.md` 用它保存设置,服务脚本读取 `GET state`。
|
||||
面板使用一个本地 HTTP API,agent 也可以调用它。`设置.md` 用它保存设置,服务脚本读取 `GET state`。
|
||||
|
||||
向 `http://127.0.0.1:<port>/orchestrator/api/` 发送请求,带上 `x-orchestrator-request: 1`。host 必须是 `127.0.0.1:<port>` 或 `localhost:<port>`。缺少请求头、或 `Origin` 来自别的站点,都会得到 403。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user