feat: 前后台静态资源路径冲突修复 + 用户管理功能
- 修改 admin/vite.config.js 添加 base: '/admin/' 解决静态资源路径问题 - 修复后台 index.html 资源引用从 /assets/ → /admin/assets/ - 更新优化器默认 API 地址为服务器地址 - 添加友链管理相关代码 - 修复多处分类管理页面
This commit is contained in:
+2
-2
@@ -25,8 +25,8 @@ def parse_args():
|
||||
parser.add_argument(
|
||||
"--api-url",
|
||||
type=str,
|
||||
default=os.getenv("API_URL", "http://localhost:8001"),
|
||||
help="API 地址(默认: http://localhost:8001)",
|
||||
default=os.getenv("API_URL", "http://39.104.58.51"),
|
||||
help="API 地址(默认: http://39.104.58.51)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--username",
|
||||
|
||||
Reference in New Issue
Block a user