How to call the server interface to set the proxy by ant design pro

I disabled mock
clipboard.png
.webpackrcproxy

clipboard.png

clipboard.png
using the ant design pro framework. I set up a proxy but it doesn"t work well, and I can"t request the interface in the background all the time

Mar.04,2021

proxy: {
  '/api': 'http://xxxxxxxxxx',
}        

try this


  

has been solved, thank you, it is the wrong position of proxy.

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-1bebd39-31acd.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-1bebd39-31acd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?