kongdeqiang
2023-06-06 6f1282471e5fd213443ac1f6dabfd3ef8b08c5c3
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':''