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
404 is returned because directory with fr name exists but doesn't have index.html file.
In my case, I'd want it to fall back to the root file that actually exists and could be matched with extensions specified.
The text was updated successfully, but these errors were encountered:
It might make sense to allow falling back to files when a directory with the same name exists but doesn't have an index.html file.
(I'm using
serve-static
for unit-testing but I'm creating an issue againstsend
as I think the functionality would have to be added here.)Reproduction steps
Options:
A directory structure like so:
Try to load
/fr
path.404 is returned because directory with
fr
name exists but doesn't haveindex.html
file.In my case, I'd want it to fall back to the root file that actually exists and could be matched with
extensions
specified.The text was updated successfully, but these errors were encountered: