Commit 276ffcbd authored by 高智胜's avatar 高智胜

修改正式

parent d4b788c1
const baseUrl = '/api'
// todo: url
const httpUrl = 'http://repairtest.dxccy.com' // 测试接口
const h5Url = 'http://repair.test.h5.dxccy.com' // 测试h5线上地址
// const httpUrl = 'http://repairtest.dxccy.com' // 测试接口
// const h5Url = 'http://repair.test.h5.dxccy.com' // 测试h5线上地址
// const httpUrl = 'https://repair.dxccy.com' // 正式接口
// const h5Url = 'https://repair.h5.dxccy.com' // 正式h5线上地址
const httpUrl = 'https://repair.dxccy.com' // 正式接口
const h5Url = 'https://repair.h5.dxccy.com' // 正式h5线上地址
const wxLogin = '/api/worker/login' // 微信登录获取token、登录状态
const curScope = 'scopes=snsapi_base&type=1'
......
......@@ -61,8 +61,8 @@ module.exports = {
proxy: {
'/api/': {
// todo: url
target: 'http://repairtest.dxccy.com/api', // 测试
// target: 'https://repair.dxccy.com/api', // 正式
// target: 'http://repairtest.dxccy.com/api', // 测试
target: 'https://repair.dxccy.com/api', // 正式
autoRewrite: true,
changeOrigin: true,
ws: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment