代理配置

This commit is contained in:
zxy
2024-02-20 09:57:58 +08:00
parent d88cc8618a
commit 779aad2016

View File

@@ -3,8 +3,8 @@ module.exports = {
port: 1887, port: 1887,
proxy: { proxy: {
'/api': { '/api': {
target: 'http://192.168.3.108:8000', // 本地服务接口地址 // target: 'http://192.168.3.108:8000', // 本地服务接口地址
// target: "http://39.98.184.58:8000", // 阿里云后台地址 target: "http://39.98.184.58:8000", // 阿里云后台地址
// target: "http://192.168.0.101:8000", // 本地网关 // target: "http://192.168.0.101:8000", // 本地网关
ws: true, ws: true,
pathRewrite: { pathRewrite: {