The problem of Agent after ant design pro Packaging

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

Aug.09,2021

just put the rules of your local agent on the nginx server. You find the rules of your local agent. Have the operator match it for you.
or write it yourself


encountered the same problem. Solve. Do you need to reconfigure nginx? Or?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3aef1-2c234.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3aef1-2c234.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?