refactor(env): 更新 API 地址并注释掉导航栏中的对战信息选项
- 将 VITE_API_BASE_URL 从 http://localhost:48080/app-api 修改为 http://localhost:8283/app-api - 在 Navbar 组件中注释掉对战信息的导航项
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# API 基础路径
|
# API 基础路径
|
||||||
VITE_API_BASE_URL=http://localhost:48080/app-api
|
VITE_API_BASE_URL=http://localhost:8283/app-api
|
||||||
|
|
||||||
# 开发环境配置
|
# 开发环境配置
|
||||||
NODE_ENV=development
|
NODE_ENV=development
|
||||||
@@ -12,7 +12,7 @@ interface NavItem {
|
|||||||
|
|
||||||
const navItems: NavItem[] = [
|
const navItems: NavItem[] = [
|
||||||
{ path: "/", label: "角色列表" },
|
{ path: "/", label: "角色列表" },
|
||||||
{ path: "/gvg", label: "对战信息" },
|
// { path: "/gvg", label: "对战信息" },
|
||||||
// { path: "/home", label: "主页" },
|
// { path: "/home", label: "主页" },
|
||||||
// { path: "/characters", label: "角色列表" },
|
// { path: "/characters", label: "角色列表" },
|
||||||
// { path: "/builds", label: "配装攻略" },
|
// { path: "/builds", label: "配装攻略" },
|
||||||
|
|||||||
Reference in New Issue
Block a user