马宇豪
2023-04-10 df5d10124f0cdaa2710a8bc460413388dd50c199
config/index.js
@@ -9,7 +9,15 @@
    // Paths
    assetsSubDirectory: 'static',
    assetsPublicPath: '/',
    proxyTable: {},
    proxyTable: {
        '/taboi': {
            target: 'http://123.56.127.115:8011', // 你接口的域名
            changeOrigin: true,
            pathRewrite: {
                '^/taboi': '/taboi'
            },
        },
    },
    // Various Dev Server settings