fix: 修改开发环境端口配置为8084

将开发服务器端口和API基础URL从8081/8083统一调整为8084,避免端口冲突并保持环境一致性
This commit is contained in:
huangge1199 2025-08-28 13:31:50 +08:00
parent 4de357445e
commit 46865bebfe
2 changed files with 3 additions and 3 deletions

View File

@ -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 : ''),

View File

@ -2,7 +2,7 @@ const CompressionPlugin = require('compression-webpack-plugin')
module.exports = {
devServer: {
port: 80,
port: 8084,
https: false,
open: false
},