Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vishal-gujalwar opened this issue Jan 5, 2024 · 1 comment

Comments

@vishal-gujalwar
Copy link

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
Copy link
Owner

twitchax commented Jan 5, 2024

Hello!

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants