The @ vue/cli3 agent is invalid?

problem description

the agent configuration on the official website is useless. Ask for advice

.

related codes

devServer:{
    proxy:{
        "/api":{
            target:"192.168.29.33",
            ws:true,
            changOrigin:true,
            pathRewrite:{
                "^/api":"/"
            }
        }
    }
}

what result do you expect? What is the error message actually seen?

clipboard.png

the agent is well configured, that is, it is always localhost when requested. Why

Dec.02,2021

is this correct, or is it requested in the original way? agent just forwarded and intercepted. You can take a look at this article, portal


No response at all. Did the localhost, landlord solve the request


has the landlord solved it? The same problem


has it been solved? I have always been localhost

.
Menu