1 parent 5d72c6f commit 2c86b2eCopy full SHA for 2c86b2e
1 file changed
hoj-vue/vue.config.js
@@ -57,7 +57,7 @@ module.exports={
57
port: 8088, // 开发服务器运行端口号
58
proxy: {
59
'/api': { // 以'/api'开头的请求会被代理进行转发
60
- target: 'https://hdoi.cn', // 要发向的后台服务器地址 如果后台服务跑在后台开发人员的机器上,就写成 `http://ip:port` 如 `http:192.168.12.213:8081` ip为后台服务器的ip
+ target: 'http://localhost:6688', // 要发向的后台服务器地址 如果后台服务跑在后台开发人员的机器上,就写成 `http://ip:port` 如 `http:192.168.12.213:8081` ip为后台服务器的ip
61
changeOrigin: true
62
}
63
},
0 commit comments