diff --git a/README.md b/README.md index c2036f25..690d83f2 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,8 @@ MoviePilot需要配套下载器和媒体服务器配合使用。 - Windows - 下载 [MoviePilot.exe](https://github.com/jxxghp/MoviePilot/releases),双击运行后自动生成配置文件目录,访问:http://localhost:3000 + 1. 独立执行文件版本:下载 [MoviePilot.exe](https://github.com/jxxghp/MoviePilot/releases),双击运行后自动生成配置文件目录,访问:http://localhost:3000 + 2. 安装包版本:[Windows-MoviePilot](https://github.com/developer-wlj/Windows-MoviePilot) - 群晖套件 diff --git a/app/api/endpoints/system.py b/app/api/endpoints/system.py index 09b031cf..2c4859ef 100644 --- a/app/api/endpoints/system.py +++ b/app/api/endpoints/system.py @@ -191,6 +191,8 @@ def get_logging(token: str, length: int = 50, logfile: str = "moviepilot.log"): return Response(content="日志文件不存在!", media_type="text/plain") with open(log_path, 'r', encoding='utf-8') as file: text = file.read() + # 倒序输出 + text = '\n'.join(text.split('\n')[::-1]) return Response(content=text, media_type="text/plain") else: # 返回SSE流响应