config

devServer: {
    proxy: {
        "/api/basic": {
            target: config.url.basic,
            pathRewrite: { "^/api/basic": "/" }
        },
        "/api/org": {
            target: config.url.org,
            pathRewrite: { "^/api/org": "/" }
        },
        "/api/portal": {
            target: config.url.portal,
            pathRewrite: { "^/api/portal": "/" }
        },
        "/ueeditor": {
            target: config.url.home,
        },
        "/aliyun/token": {
            target: config.url.home,
        },
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
上次更新: 2021/10/3 10:30:49
贡献者: wangdapan