chore: 统一前端/H5 服务固定端口
- web: 5178 - web-admin: 5179 - mini-program: 5180 - life-script: 5181
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
# 开发环境配置
|
||||
VITE_API_BASE_URL=http://localhost:19089/api
|
||||
VITE_PORT=5181
|
||||
|
||||
@@ -8,6 +8,6 @@ export default defineConfig(({ mode }) => ({
|
||||
// 生产环境使用 /life-script/ 路径,开发环境使用根路径
|
||||
base: mode === 'production' ? '/life-script/' : '/',
|
||||
server: {
|
||||
port: 3000
|
||||
port: 5181
|
||||
}
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user