From 2ed1d98f6c39066bff2db1d3704fc1bb16255df2 Mon Sep 17 00:00:00 2001 From: "949036910@qq.com" <> Date: Wed, 27 May 2026 20:53:49 +0800 Subject: [PATCH] 1 --- .env.example | 4 ++-- .env.production | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 .env.production diff --git a/.env.example b/.env.example index da21fb7..0e279c2 100644 --- a/.env.example +++ b/.env.example @@ -1,8 +1,8 @@ # 开发默认走 Vite 代理 /api -> http://127.0.0.1:8001 -# VITE_API_BASE_URL=http://127.0.0.1:8001/api/v1 +VITE_API_BASE_URL=http://81.70.234.81:8001/api/v1 # Tauri Rust 请求后端基址(拉取 appConfig、脚本等) -# AICLIENT_API_BASE=http://127.0.0.1:8001 +AICLIENT_API_BASE=http://81.70.234.81:8001 # ffmpeg(抖音流水线提音频必需):放入 src-tauri/binaries/ffmpeg.exe 或设置绝对路径 # AICLIENT_FFMPEG_PATH=C:/path/to/ffmpeg.exe diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..0e279c2 --- /dev/null +++ b/.env.production @@ -0,0 +1,12 @@ +# 开发默认走 Vite 代理 /api -> http://127.0.0.1:8001 +VITE_API_BASE_URL=http://81.70.234.81:8001/api/v1 + +# Tauri Rust 请求后端基址(拉取 appConfig、脚本等) +AICLIENT_API_BASE=http://81.70.234.81:8001 + +# ffmpeg(抖音流水线提音频必需):放入 src-tauri/binaries/ffmpeg.exe 或设置绝对路径 +# AICLIENT_FFMPEG_PATH=C:/path/to/ffmpeg.exe + +# 应用配置在 pythonbackend 的 MySQL 表 desktop_configs(name/value), +# 登录后自动同步;Node 流水线通过环境变量 AICLIENT_CFG_ 读取。 +# 常用键示例:LLM_API_KEY、LLM_API_URL、LLM_MODEL_ID、ASR_MODE、DASHSCOPE_API_KEY、OSS_CONFIG(JSON)