Skip to content

Commit 2c86b2e

Browse files
committed
fix
1 parent 5d72c6f commit 2c86b2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hoj-vue/vue.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ module.exports={
5757
port: 8088, // 开发服务器运行端口号
5858
proxy: {
5959
'/api': { // 以'/api'开头的请求会被代理进行转发
60-
target: 'https://hdoi.cn', // 要发向的后台服务器地址 如果后台服务跑在后台开发人员的机器上,就写成 `http://ip:port` 如 `http:192.168.12.213:8081` ip为后台服务器的ip
60+
target: 'http://localhost:6688', // 要发向的后台服务器地址 如果后台服务跑在后台开发人员的机器上,就写成 `http://ip:port` 如 `http:192.168.12.213:8081` ip为后台服务器的ip
6161
changeOrigin: true
6262
}
6363
},

0 commit comments

Comments
 (0)