zhangyanpeng
2020-03-18 37a6ace3b51bc1d7bb562242c8a70b51ba3b6680
vue.config.js
@@ -2,10 +2,13 @@
    // 修改的配置
    // 将baseUrl: '/api',改为baseUrl: '/',
    publicPath: '/',
    outputDir: 'dist',
    devServer: {
        proxy: {
            '/api/api': {
                target: 'http://127.0.0.1:8090',
                //target: 'http://srs.highdatas.com:8090',
                target: 'http://fcfhyi.natappfree.cc',
                changeOrigin: true,
                ws: true,
                pathRewrite: {