端口修改
This commit is contained in:
@@ -100,7 +100,7 @@ const devConfig: AppRuntimeConfig = {
|
||||
|
||||
// 单点登录配置
|
||||
// 推荐:开发环境也通过nginx访问(http://localhost)
|
||||
// 备选:直接访问各服务端口(platformUrl: 'http://localhost:5001')
|
||||
// 备选:直接访问各服务端口(platformUrl: 'http://localhost:7001')
|
||||
sso: {
|
||||
platformUrl: '/', // 通过nginx访问platform
|
||||
workcaseUrl: '/workcase', // 通过nginx访问workcase
|
||||
|
||||
@@ -100,7 +100,7 @@ export default defineConfig({
|
||||
},
|
||||
|
||||
server: {
|
||||
port: 5000,
|
||||
port: 7000,
|
||||
strictPort: true,
|
||||
host: true,
|
||||
cors: true,
|
||||
@@ -112,7 +112,7 @@ export default defineConfig({
|
||||
},
|
||||
|
||||
preview: {
|
||||
port: 5000,
|
||||
port: 7000,
|
||||
host: true,
|
||||
cors: true,
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user