feat(torrents): 实现种子上传和列表展示功能
- 新增种子上传功能,包括用户认证和表单处理
- 实现种子列表展示,含搜索和筛选功能
- 调整布局和样式,优化用户体验
- 移除不必要的分类和筛选条件
- 重构部分代码以适应新功能
Change-Id: I86229123ba1e1a70e632042b2a9544e08c3c6876
diff --git a/vite.config.js b/vite.config.js
index 47bc9fd..6c73a38 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -24,15 +24,15 @@
'@': resolve(__dirname, './src')
}
},
- server: {
- host: true,
- port: 3000,
- proxy: {
- '/api': {
- target: 'http://localhost:8080', // 修改为本地后端地址
- changeOrigin: true,
- rewrite: (path) => path.replace(/^\/api/, '/api')
- }
- }
- }
+ // server: {
+ // host: true,
+ // port: 3000,
+ // proxy: {
+ // '/api': {
+ // target: 'http://localhost:8080', // 修改为本地后端地址
+ // changeOrigin: true,
+ // rewrite: (path) => path.replace(/^\/api/, '/api')
+ // }
+ // }
+ // }
})