kongdeqiang
2023-06-09 b6218e1a65289b9c232408e9ee6247c36258a155
vue.config.js
@@ -11,12 +11,12 @@
    assetsDir: 'static',
    productionSourceMap: false,
    devServer: {
        sockHost: 'demo.my-domain.com',
        sockHost: 'localhost',
        disableHostCheck: true,
        proxy: {
            '/api':{
                //target:'http://183.196.93.178',
                target:'http://127.0.0.1',
                target:'http://183.196.93.178',
                //target:'http://127.0.0.1',
                changeOrigin:true,
                pathRewrite:{
                    '/api':''