修复关键位

This commit is contained in:
dekun
2026-05-22 10:56:42 +08:00
parent d144cb592a
commit 40f7a1b844
15 changed files with 143 additions and 15 deletions
+2 -1
View File
@@ -14,6 +14,7 @@
const path = require("path");
const ROOT = __dirname;
const REPO_ROOT = path.join(ROOT, "..");
const PY = path.join(ROOT, ".venv", "bin", "python");
module.exports = {
@@ -27,7 +28,7 @@ module.exports = {
autorestart: true,
watch: false,
max_memory_restart: "800M",
// app.py 从项目根目录 .env 加载(由 .env.example 复制而来,勿提交 Git
env: { PYTHONPATH: REPO_ROOT },
},
],
};