修改部分端口号,修改局域网ip

master
Chopper 2021-05-17 15:40:02 +08:00
parent cd86e1de22
commit dc0cb5a76c
6 changed files with 15 additions and 15 deletions

View File

@ -22,7 +22,7 @@ module.exports = {
// Various Dev Server settings // Various Dev Server settings
host: '0.0.0.0', // can be overwritten by process.env.HOST host: '0.0.0.0', // can be overwritten by process.env.HOST
port: 8889, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined port: 10000, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false, autoOpenBrowser: false,
errorOverlay: true, errorOverlay: true,
notifyOnErrors: true, notifyOnErrors: true,

View File

@ -17,10 +17,10 @@ export default {
* @description api请求基础路径 * @description api请求基础路径
*/ */
api_dev: { api_dev: {
common: 'https://common-api.pickmall.cn', common: 'http://127.0.0.1:8890',
buyer: 'https://buyer-api.pickmall.cn', buyer: 'http://127.0.0.1:8888',
seller: 'https://store-api.pickmall.cn', seller: 'http://127.0.0.1:8889',
manager: 'https://admin-api.pickmall.cn' manager: 'http://127.0.0.1:8887'
}, },
api_prod: { api_prod: {
common: 'https://common-api.pickmall.cn', common: 'https://common-api.pickmall.cn',

View File

@ -17,10 +17,10 @@ export default {
* @description api请求基础路径 * @description api请求基础路径
*/ */
api_dev: { api_dev: {
common: 'https://common-api.pickmall.cn', common: 'http://127.0.0.1:8890',
buyer: 'https://buyer-api.pickmall.cn', buyer: 'http://127.0.0.1:8888',
seller: 'https://store-api.pickmall.cn', seller: 'http://127.0.0.1:8889',
manager: 'https://admin-api.pickmall.cn' manager: 'http://127.0.0.1:8887'
}, },
api_prod: { api_prod: {
common: 'https://common-api.pickmall.cn', common: 'https://common-api.pickmall.cn',

View File

@ -17,7 +17,7 @@ module.exports = {
} }
}, },
devServer: { devServer: {
port: 9999 port: 10003
// proxy: { // proxy: {
// '/lili': { // '/lili': {
// target: 'http://127.0.0.1:8888', // 请求本地 需要lili后台项目 // target: 'http://127.0.0.1:8888', // 请求本地 需要lili后台项目

View File

@ -18,10 +18,10 @@ export default {
* @description api请求基础路径 * @description api请求基础路径
*/ */
api_dev: { api_dev: {
common: 'https://common-api.pickmall.cn', common: 'http://127.0.0.1:8890',
buyer: 'https://buyer-api.pickmall.cn', buyer: 'http://127.0.0.1:8888',
seller: 'https://store-api.pickmall.cn', seller: 'http://127.0.0.1:8889',
manager: 'https://admin-api.pickmall.cn' manager: 'http://127.0.0.1:8887'
}, },
api_prod: { api_prod: {
common: 'https://common-api.pickmall.cn', common: 'https://common-api.pickmall.cn',

View File

@ -17,7 +17,7 @@ module.exports = {
}, },
devServer: { devServer: {
port: 9998, port: 10002,
// proxy: { // proxy: {
// '/lili': { // '/lili': {
// target: 'http://127.0.0.1:8888', // 请求本地 需要lili后台项目 // target: 'http://127.0.0.1:8888', // 请求本地 需要lili后台项目