修正接口

This commit is contained in:
18500206848
2024-02-16 18:18:52 +08:00
parent 8dcecb78f2
commit e2e4f5c488
4 changed files with 43 additions and 43 deletions

View File

@@ -23,9 +23,8 @@ module.exports = {
port: 1888,
proxy: {
"/api": {
//本地服务接口地址
// target: "http://192.168.31.246:8000", // 本地后台地址
target: "http://39.98.184.58:8000", // 阿里云后台地址
target: 'http://127.0.0.1:8000', // 本地服务接口地址
// target: "http://39.98.184.58:8000", // 阿里云后台地址
ws: true,
changeOrigin: true,
pathRewrite: {