when not packaged, use this way to get the api data of the real server:
export default (noProxy? {
"GET / *": apiurl,
"POST / *": apiurl,
}: delay (proxy, 1000));
after run build is packaged, the dist directory is generated, and after I put the project in nginx.
neither the mock"s nor the real server"s api can receive it. How to get the api? of the server address?
has always been
I think some people say use nginx to match, but how to match it is the key