Browse Source

修改链接地址

master
xh-pan1 9 months ago
parent
commit
903b7af3ea
  1. 2
      .env.development
  2. 6
      vue.config.js

2
.env.development

@ -11,5 +11,5 @@ VUE_APP_BASE_API = '/dev-api'
# VUE_APP_DOMAIN_PREFIX = '/api'
# VUE_APP_DOMAIN_PREFIX = 'http://3j073r3905.qicp.vip:29544'
VUE_APP_DOMAIN_PREFIX = 'http://localhost:9003'
# VUE_APP_DOMAIN_PREFIX = 'http://122.9.152.120/ceres-admin-api'
# VUE_APP_DOMAIN_PREFIX = 'http://36.138.125.206:8081/ceres-admin-api'
# VUE_APP_DOMAIN_PREFIX = 'http://47.101.222.106:8001'

6
vue.config.js

@ -42,7 +42,7 @@ module.exports = {
'/api': {
// target: 'http://3j073r3905.qicp.vip:29544', // 测试
// target: 'https://ceresdev.zkthink.com/adminapi', // 平台端
target: 'http://122.9.152.120/ceres-admin-api', // 平台端
target: 'http://36.138.125.206:8081/ceres-admin-api', // 平台端
// target: 'https://bizapi.zkthink.com', // 商家端
changeOrigin: true,
pathRewrite: {
@ -52,7 +52,7 @@ module.exports = {
'/adminapi': {
// target: 'http://3j073r3905.qicp.vip:29544', // 测试
// target: 'https://ceresdev.zkthink.com/adminapi', // 平台端
target: 'http://122.9.152.120/ceres-admin-api', // 平台端
target: 'http://36.138.125.206:8081/ceres-admin-api', // 平台端
// target: 'https://bizapi.zkthink.com', // 商家端
changeOrigin: true,
pathRewrite: {
@ -62,7 +62,7 @@ module.exports = {
'/': {
// target: 'http://3j073r3905.qicp.vip:29544', // 测试
// target: 'https://ceresdev.zkthink.com/adminapi/', // 平台端
target: 'http://122.9.152.120/ceres-admin-api', // 平台端
target: 'http://36.138.125.206:8081/ceres-admin-api', // 平台端
// target: 'https://bizapi.zkthink.com', // 商家端
changeOrigin: true,
},

Loading…
Cancel
Save