From f2ba6a0833ee5dfccb14c6d028e1630d9c5941ed Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 8 Sep 2025 11:28:16 +0800 Subject: [PATCH] 'd' --- frontend/src/components/files/ListingItem.vue | 7 +++++++ frontend/vite.config.ts | 8 ++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/files/ListingItem.vue b/frontend/src/components/files/ListingItem.vue index fc8ea21..2260687 100644 --- a/frontend/src/components/files/ListingItem.vue +++ b/frontend/src/components/files/ListingItem.vue @@ -23,10 +23,14 @@ + +

@@ -431,6 +435,9 @@ const loopLive = async () => { } }; +const obsLive = async () => { + +}; const startLive = async () => { try { // props.url 是 FileBrowser 内部路径,例如 /videos/test.mp4 diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 9323b63..3d874f7 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -41,11 +41,15 @@ export default defineConfig(({ command }) => { proxy: { // Zero3 后端 WebSocket(如果你有 ws 接口) "/api/command": { - target: "ws://live.local:8081", + target: "ws://192.168.31.103:8081", + // target: "ws://live.local:8081", + ws: true, }, // Zero3 后端 HTTP - "/api": "http://live.local:8081", + "/api": "http://192.168.31.103:8081", + // "/api": "http://live.local:8081", + }, }, };