diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..71001b6 --- /dev/null +++ b/.env.development @@ -0,0 +1 @@ +VUE_APP_BASE_API=http://adm.pengda.checkcopy.com/api \ No newline at end of file diff --git a/.env.production b/.env.production index 31c4e99..71001b6 100644 --- a/.env.production +++ b/.env.production @@ -1 +1 @@ -VUE_APP_BASE_API=http://adminnew.pengda.checkcopy.com \ No newline at end of file +VUE_APP_BASE_API=http://adm.pengda.checkcopy.com/api \ No newline at end of file diff --git a/vue.config.js b/vue.config.js index a54b5c0..9bcc9ff 100755 --- a/vue.config.js +++ b/vue.config.js @@ -4,7 +4,7 @@ module.exports = { devServer: { proxy: { '/supernew': { - target: 'http://adminnew.pengda.checkcopy.com', + target: 'http://adm.pengda.checkcopy.com/api', changeOrigin: true, } }