diff --git a/README.md b/README.md index f91554c..c349a1b 100644 --- a/README.md +++ b/README.md @@ -224,7 +224,7 @@ bash ./scripts/verify-deb-bootstrap.sh dist/linux-deb/call-client/amd64/*.deb bash ./scripts/verify-deb-bootstrap.sh --all ``` -### 5.3 Windows Nginx 反向代理模板 +### 5.3 Windows Nginx 本地目录直读模板 ```nginx server { @@ -232,20 +232,17 @@ server { server_name 80.12.140.29; location /apt/ { - proxy_pass http://inner-repo-server/; - proxy_http_version 1.1; - - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - - proxy_request_buffering off; - proxy_buffering off; - proxy_read_timeout 300s; + alias F:/workspace/zyclient_linux/TauriClient/dist/repo/; + autoindex on; } } ``` +路径映射关系: + +- `http://80.12.140.29:80/apt/dists/v10/Release` +- 对应本地文件 `F:/workspace/zyclient_linux/TauriClient/dist/repo/dists/v10/Release` + 客户端源配置示例: ```bash @@ -268,11 +265,8 @@ server { server_name localhost; location /apt/ { - proxy_pass http://inner-repo-server/; - proxy_http_version 1.1; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + alias F:/workspace/zyclient_linux/TauriClient/dist/repo/; + autoindex on; } } ``` diff --git a/broadcast-client/src/styles.css b/broadcast-client/src/styles.css index f08dcc6..b5f822c 100644 --- a/broadcast-client/src/styles.css +++ b/broadcast-client/src/styles.css @@ -232,6 +232,8 @@ body, .actions-row { display: flex; + align-items: center; + flex-wrap: wrap; gap: 8px; margin-top: 14px; } @@ -239,10 +241,21 @@ body, .config-top-status { display: flex; align-items: center; - min-height: 28px; + min-height: 36px; margin-bottom: 10px; } +.top-actions { + display: flex; + align-items: center; + gap: 8px; +} + +.version-text { + color: #666; + font-size: 12px; +} + .btn { border: 1px solid #c8c8c8; background: #fff; diff --git a/broadcast-client/src/views/ConfigView.vue b/broadcast-client/src/views/ConfigView.vue index 8cdb9e1..7163a33 100644 --- a/broadcast-client/src/views/ConfigView.vue +++ b/broadcast-client/src/views/ConfigView.vue @@ -1,10 +1,19 @@