Skip to content

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

@vishal-gujalwar

Description

@vishal-gujalwar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions