refactor(torrent): 优化种子文件服务和相关配置

- 修改文件重命名逻辑,移除空格和连字符处理
- 更新UI端口依赖从 sass-embedded 到 sass
- 调整请求基础URL配置为局域网地址
- 重构后端运行配置以支持外部访问
- 添加种子列表路由和提取名称功能
- 移除按名称查询单个种子的路由
- 实现标准化名称提取算法
- 添加批量获取所有种子的功能
This commit is contained in:
2026-05-01 15:51:38 +08:00
parent 63ef32f01e
commit 208209e05f
7 changed files with 47 additions and 16 deletions
+1
View File
@@ -50,6 +50,7 @@ class FileService:
return self.perform_rename(entry, f"{name}{ext}")
name = name.replace("-", "")
name = name.replace(" ", "")
# 处理特殊前缀
for prefix in SPECIAL_PREFIXES: