fix: 修改开发环境端口配置为8084
将开发服务器端口和API基础URL从8081/8083统一调整为8084,避免端口冲突并保持环境一致性
This commit is contained in:
parent
4de357445e
commit
46865bebfe
@ -1,8 +1,8 @@
|
||||
export default {
|
||||
// 测试环境
|
||||
baseURL: "http://localhost:8081",
|
||||
baseURL: "http://localhost:8084",
|
||||
imBaseURL: "http://localhost:8082/im",
|
||||
webURL: "http://localhost:8083",
|
||||
webURL: "http://localhost:8084",
|
||||
|
||||
// 生产环境
|
||||
// webURL: location.protocol + "//" + location.hostname + (location.port ? ':' + location.port : ''),
|
||||
|
@ -2,7 +2,7 @@ const CompressionPlugin = require('compression-webpack-plugin')
|
||||
|
||||
module.exports = {
|
||||
devServer: {
|
||||
port: 80,
|
||||
port: 8084,
|
||||
https: false,
|
||||
open: false
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user