diff --git a/.env b/.env new file mode 100644 index 0000000..55dbc16 --- /dev/null +++ b/.env @@ -0,0 +1,15 @@ +# 数据库配置 +DB_HOST=100.66.1.4 +DB_PORT=3306 +DB_USER=root +DB_PASSWORD=sc666666 +DB_NAME=recipe_tools + +# AI 翻译配置 +AI_API_KEY=6a81b361620a44fd86aa3c8fcd833800.PjPyiU8kSzCTviYa +AI_BASE_URL=https://open.bigmodel.cn/api/paas/v4/ +AI_MODEL=GLM-4.7-Flash + +# 版本更新配置 +# 在 OneDev 中创建 Access Token (Settings → Access Tokens → New Token, scope: Read code) +ONEDEV_ACCESS_TOKEN=Gtn1krR7tmv4x2c7xLupvW6OqgwWbmanpKonknpQ diff --git a/.gitignore b/.gitignore index ad45915..7d73634 100644 --- a/.gitignore +++ b/.gitignore @@ -31,9 +31,6 @@ yarn-debug.log* yarn-error.log* .pnpm-debug.log* -# env files (can opt-in for committing if needed) -.env - # vercel .vercel diff --git a/.version b/.version index 8acf2e6..4e11aba 100644 --- a/.version +++ b/.version @@ -1,5 +1,5 @@ { - "version": "1.0.0", + "version": "1.0.1", "release_date": "2025-01-15", - "changelog": "修复了XXX问题,增加了YYY功能" + "changelog": "更新版本号,修复配置文件" }