This commit is contained in:
18500206848
2024-02-07 22:40:40 +08:00
parent 6e4780c7a6
commit 365b69f391

View File

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