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.

Menu