diff --git a/.env.development b/.env.development index 7b50b84..1be8d2a 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ NODE_ENV=development VUE_APP_PREVIEW=true -VUE_APP_API_BASE_URL=https://www.chuangzhikj.com/saas-ics -VUE_APP_MODEL_BASE_URL=https://www.chuangzhikj.com/saas-ics \ No newline at end of file +VUE_APP_API_BASE_URL=/api +VUE_APP_MODEL_BASE_URL=http://127.0.0.1:8080 \ No newline at end of file diff --git a/vue.config.js b/vue.config.js index 76abbd5..e7bebf3 100644 --- a/vue.config.js +++ b/vue.config.js @@ -108,8 +108,8 @@ const vueConfig = { port: 8000, proxy: { '/api': { - // target: 'http://192.168.0.30:9227', - target: 'https://www.chuangzhikj.com/saas-ics', + target: 'http://192.168.0.30:9227', + // target: 'https://www.chuangzhikj.com/saas-ics', pathRewrite: { '^/api': '' }, ws: false, changeOrigin: true