kimi
2020-03-18 fadf2795757ac6df1c792546725ea177c93d9d7a
vue.config.js
@@ -2,15 +2,17 @@
    // 修改的配置
    // 将baseUrl: '/api',改为baseUrl: '/',
    publicPath: '/',
    outputDir: 'dist',
    devServer: {
      port: 80,
        proxy: {
            '/api': {
                target: '192.168.31.233:8090',
            '/api/api': {
                //target: 'http://srs.highdatas.com:8090',
                target: 'http://fcfhyi.natappfree.cc',
                changeOrigin: true,
                ws: true,
                pathRewrite: {
                  '^/api': ''
                  '^/api/api': ''
                }
            }
        }