mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-02 19:00:49 +08:00
docs: update usage instructions in README files for clarity on static file access after build
This commit is contained in:
@@ -27,8 +27,8 @@ Since 6.0.19 the WebUI ships with the main program; access it via `/management.h
|
|||||||
1) **After CLI Proxy API is running (recommended)**
|
1) **After CLI Proxy API is running (recommended)**
|
||||||
Visit `http://your-server:8317/management.html`.
|
Visit `http://your-server:8317/management.html`.
|
||||||
|
|
||||||
2) **Direct static use**
|
2) **Direct static use after build**
|
||||||
Open `index.html` (or the bundled `dist/index.html` from `npm run build`) directly in your browser.
|
The single file `dist/index.html` generated by `npm run build`
|
||||||
|
|
||||||
3) **Local server**
|
3) **Local server**
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -27,8 +27,8 @@
|
|||||||
1) **主程序启动后使用(推荐)**
|
1) **主程序启动后使用(推荐)**
|
||||||
访问 `http://您的服务器:8317/management.html`。
|
访问 `http://您的服务器:8317/management.html`。
|
||||||
|
|
||||||
2) **直接静态打开**
|
2) **构建后直接静态打开**
|
||||||
浏览器打开 `index.html`(或 `npm run build` 生成的 `dist/index.html` 单文件)。
|
`npm run build` 生成的 `dist/index.html` 单文件
|
||||||
|
|
||||||
3) **本地服务器**
|
3) **本地服务器**
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user