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