Browse Source

修改默认地址

master
xh-pan1 9 months ago
parent
commit
9df73f1df1
  1. 4
      components/canvasShow/config/api.js
  2. 4
      config/api.js

4
components/canvasShow/config/api.js

@ -2,9 +2,9 @@
// 获取当前环境变量 true => 生产环境 false => 开发环境
// const BASEURL = process.env.VUE_APP_DOMAIN_PREFIX
// const BASEURL = (process.env.NODE_ENV === 'production') ? 'http://36.138.125.206:8081/ceres-app-api' : 'http://36.138.125.206:8081/ceres-app-api'
const BASEURL = (process.env.NODE_ENV === 'production') ? 'http://36.138.125.206:8081/ceres-app-api' : 'http://36.138.125.206:8081/ceres-app-api'
// const BASEURL = (process.env.NODE_ENV === 'production') ? 'https://http://36.138.125.206:8081/ceres-local-filehnthee.com/ceres-app-api' : 'https://http://36.138.125.206:8081/ceres-local-filehnthee.com/ceres-app-api'
const BASEURL = (process.env.NODE_ENV === 'production') ? 'http://127.0.0.1:9007' : 'http://127.0.0.1:9007'
// const BASEURL = (process.env.NODE_ENV === 'production') ? 'http://127.0.0.1:9007' : 'http://127.0.0.1:9007'
// const BASEURL = '/ceres-app-api'

4
config/api.js

@ -1,5 +1,5 @@
const DOMAIN_PREFIX = 'http://127.0.0.1:9007'
// const DOMAIN_PREFIX = 'http://36.138.125.206:8081/ceres-app-api'
// const DOMAIN_PREFIX = 'http://127.0.0.1:9007'
const DOMAIN_PREFIX = 'http://36.138.125.206:8081/ceres-app-api'
// const DOMAIN_PREFIX = 'https://http://36.138.125.206:8081/ceres-local-filehnthee.com/ceres-app-api'
// const DOMAIN_PREFIX = 'https://ceres.zkthink.com/api'

Loading…
Cancel
Save