feat(home page): migrate static files

This commit is contained in:
谢俊男
2026-01-13 18:42:47 +08:00
parent 02de9a03ca
commit 734ef3c713
2 changed files with 1 additions and 1 deletions

View File

@@ -83,7 +83,7 @@ class HomePageService:
:return: 对应版本的详细介绍
"""
# 1. 定义 JSON 文件路径(使用 Path 处理跨平台路径问题)
json_file_path = Path(__file__).parent.parent.parent / "version_info.json"
json_file_path = Path(__file__).parent.parent / "version_info.json"
# 转换为绝对路径,便于调试
json_abs_path = json_file_path.resolve()