When use handle_path and file_server to deploy a react program , it doesn't work

See this article:

Make sure to configure your app with basePath or whatever. It needs to generate URLs in your HTML with the path you’re trying to proxy to.