You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm trying to use fallback-file with a Blazor webassembly application. I get 404 when I'm loading URL:s that should return the fallback page.
But this will give me an error saying that index.html doesn't exists. I guess it looks in the current directory, not in the directory provided by the directory argument. Everything works if I remove the [FileExists] attribute on the FallbackFile property.
@natemcmaster, no, that is not necessary. It already uses works as it is :-) MapFallbackToFile is relative to the directory that is hosted as I understand it.
Describe the bug
I'm trying to use
fallback-file
with a Blazor webassembly application. I get 404 when I'm loading URL:s that should return the fallback page.This is related to #104.
To Reproduce
Steps to reproduce the behavior:
Create, publish and host a Blazor Webassembly application like this:
Navigate to
http://localhost:5200/
and click on counter page. This works fine.Now, navigate to
http://localhost:5200/counter
. 404 is returned, but the content in index.html was expected.Logs
The text was updated successfully, but these errors were encountered: