When we use
app.UseEndpoints(endpoints =>
{
endpoints.MapFallbackToFile("{**slug}", "index.html");
});
The proxy is not forwarding the calls but instead giving 404 not found error.
When removed the fallback code, proxy works as expected.
Any way to fix this.
Thanks