fix: 修复分类标签、删除按钮、日志 API 路径 - 保留操作列固定右侧设计

This commit is contained in:
lt
2026-04-27 11:00:11 +08:00
parent 2bd3c83cf5
commit 379592a35d
2 changed files with 28 additions and 16 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ from ..core.generator import run_creator
from ..core.optimizer import run_optimizer
from ..core.sync import sync_topic_to_db, sync_all_topics
PROJECT_ROOT = Path(__file__).resolve().parents[1]
PROJECT_ROOT = Path(__file__).resolve().parents[4]
if os.getenv('PROJECT_ROOT'):
PROJECT_ROOT = Path(os.getenv('PROJECT_ROOT'))
LOGS_DIR = PROJECT_ROOT / "automation" / "logs"