feat: 更新服务地址为 192.168.1.9,修改相关配置以支持局域网访问

This commit is contained in:
Pine
2026-08-18 09:05:23 +08:00
parent 7e6b14c44a
commit 81a888f5ca
17 changed files with 48 additions and 37 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ import '../styles/datascreen.css';
import './voice-original.css';
import './voice-overrides.css';
// 惰性读取 s2s 地址:打包部署 tauri.localhost → 127.0.0.1,且可在 config.json 覆盖
// 惰性读取 s2s 地址:打包部署 tauri.localhost → 192.168.1.9,且可在 config.json 覆盖
const VOICE_URL = getVoiceWsUrl();
// 基础提示词由后端统一管理(GET /api/s2s/instructions:配置提示词 + 园区知识库),
// 前端不硬编码;此处仅为后端不可用时的兜底