We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab1922e commit 6a322c9Copy full SHA for 6a322c9
vue.config.js
@@ -37,7 +37,7 @@ module.exports = {
37
// change xxx-api/login => mock/login
38
// detail: https://cli.vuejs.org/config/#devserver-proxy
39
[process.env.VUE_APP_BASE_API]: {
40
- target: `http://localhost:${port}/mock`,
+ target: `http://127.0.0.1:${port}/mock`,
41
changeOrigin: true,
42
pathRewrite: {
43
['^' + process.env.VUE_APP_BASE_API]: ''
0 commit comments