twitchax / AspNetCore.Proxy

ASP.NET Core Proxies made easy.
MIT License
505 stars 80 forks source link

Proxy is not working as expected when used endpoints.MapFallbackToFile #113

Open vishal-gujalwar opened 6 months ago

vishal-gujalwar commented 6 months ago

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

twitchax commented 6 months ago

Hello!

Can you give me a bit more context? Is that endpoint within the proxy handler?