kongdeqiang
2023-06-09 105abcb08f5d1c1114ce0e093d1a4912fbbfd609
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':''