I have setup Frontdoor with app service and also deployed the ReactJsapp and Asp.net APIs in the two different subdirectory like site\wwwroot\webapp and site\wwwroot\api. The problem is that when I use the azure frontdoor url example.azurewebfd.net/webapp then It direct to the example.azurewebsite.net/webapp. It works fine for api and It doesn't redirect to the example.azurewebsite.net/api and it keeps example.azurefd.net/api.
How could solve this problem ?