feat: 添加设计文件packages
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# 开发环境配置
|
||||
PORT=3200
|
||||
PORT=3201
|
||||
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5432
|
||||
@@ -21,4 +21,4 @@ ADMIN_NICKNAME=思考的Joey
|
||||
ADMIN_ROLE=super_admin
|
||||
|
||||
STORAGE_PATH=./uploads # 存储路径(默认:./uploads)
|
||||
STORAGE_BASE_URL=http://localhost:3200/uploads # 访问URL(默认:http://localhost:3200/uploads)
|
||||
STORAGE_BASE_URL=http://localhost:3201/uploads # 访问URL(默认:http://localhost:3201/uploads)
|
||||
@@ -2,10 +2,10 @@
|
||||
# 运行 pnpm dev 时会加载此文件
|
||||
|
||||
# 开发服务器端口
|
||||
VITE_PORT=3201
|
||||
VITE_PORT=3200
|
||||
|
||||
# API 基础地址(开发环境)
|
||||
VITE_API_BASE_URL=http://localhost:3200/api
|
||||
VITE_API_BASE_URL=http://localhost:3201/api
|
||||
|
||||
# 应用名称
|
||||
VITE_APP_NAME=投小记
|
||||
|
||||
@@ -15,7 +15,7 @@ const StockDailyPricePage = lazy(() => import('@/pages/stock-daily-price'));
|
||||
|
||||
export const router = createBrowserRouter([
|
||||
{
|
||||
path: '/',
|
||||
path: '/login',
|
||||
element: <LoginPage />,
|
||||
errorElement: <ErrorPage />,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user