代理指向阿里云服务器

This commit is contained in:
zxy
2024-03-13 17:35:39 +08:00
parent 9411512782
commit fdd6d03a25

View File

@@ -24,8 +24,8 @@ module.exports = {
proxy: { proxy: {
"/api": { "/api": {
// target: 'http://localhost:8000', // 本地服务接口地址 // target: 'http://localhost:8000', // 本地服务接口地址
// target: "http://39.98.184.58:8000", // 阿里云后台地址 target: "http://39.98.184.58:8000", // 阿里云后台地址
target: "http://192.168.3.104:8000", // 本地 // target: "http://192.168.3.104:8000", // 本地
// target: 'http://192.168.3.111:8000', // target: 'http://192.168.3.111:8000',
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,