From f6dc0091f759d9df652863dab7b6e9e8a04070de Mon Sep 17 00:00:00 2001 From: eric Date: Thu, 28 Aug 2025 19:49:01 +0800 Subject: [PATCH] 's' --- frontend/dist/.gitkeep | 0 frontend/src/components/files/ListingItem.vue | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 frontend/dist/.gitkeep diff --git a/frontend/dist/.gitkeep b/frontend/dist/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/components/files/ListingItem.vue b/frontend/src/components/files/ListingItem.vue index 2de64df..08cfb5c 100644 --- a/frontend/src/components/files/ListingItem.vue +++ b/frontend/src/components/files/ListingItem.vue @@ -379,7 +379,7 @@ const stopLive = async () => { const thread_id = props.url.replace(/\//g, "_"); // 调用 FastAPI 停止接口 - const res = await fetch("http://192.168.31.245:8700/stop_live", { + const res = await fetch("http://live.local:8700/stop_live", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ thread_id }) // 如果想停止全部可以 body: {} @@ -407,8 +407,8 @@ const startLive = async () => { console.log('file_path',file_path) // 调用 FastAPI 后端接口 - // const res = await fetch("http://live.local:8700/start_live", { - const res = await fetch("http://192.168.31.245:8700/start_live", { + const res = await fetch("http://live.local:8700/start_live", { + // const res = await fetch("http://192.168.31.245:8700/start_live", { method: "POST", headers: { "Content-Type": "application/json" },