uniapp项目运行时一直发http://localhost:8080/sockjs-node/info?t=1462183700002请求

 或者

 

 

 

"h5" : {
        "template" : "",
        "devServer" : {
            "public": "0.0.0.0",
            "proxy" : {
                "/api" : {
                    "target" : "http://localhost:8045",
                    "changeOrigin" : true,
                    "pathRewrite" : {
                        "^/api" : "/api"
                    }
                }
            }
        },
        "router" : {
            "base" : "./"
        },
        "title" : "",
        "sdkConfigs" : {
            "maps" : {
                "qqmap" : {
                    "key" : ""
                }
            }
        }
    }

  

posted @ 2021-08-10 09:50  居无常  阅读(2696)  评论(0编辑  收藏  举报