refactor(torrent): 优化种子文件服务和相关配置
- 修改文件重命名逻辑,移除空格和连字符处理 - 更新UI端口依赖从 sass-embedded 到 sass - 调整请求基础URL配置为局域网地址 - 重构后端运行配置以支持外部访问 - 添加种子列表路由和提取名称功能 - 移除按名称查询单个种子的路由 - 实现标准化名称提取算法 - 添加批量获取所有种子的功能
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
"npm-run-all2": "^8.0.4",
|
||||
"oxfmt": "^0.45.0",
|
||||
"oxlint": "~1.60.0",
|
||||
"sass-embedded": "^1.98.0",
|
||||
"sass": "^1.99.0",
|
||||
"typescript": "~6.0.0",
|
||||
"unplugin-auto-import": "^21.0.0",
|
||||
"unplugin-vue-components": "^31.0.0",
|
||||
|
||||
@@ -23,7 +23,7 @@ export let isRelogin: { show: boolean } = {show: false}
|
||||
axios.defaults.headers["Content-Type"] = "application/json; charset=UTF-8"
|
||||
|
||||
const service: AxiosInstance = axios.create({
|
||||
baseURL: "http://localhost:5000/api/",
|
||||
baseURL: "http://192.168.1.32:5000/api/",
|
||||
// baseURL: "/api",
|
||||
timeout: 10000,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user