-
Notifications
You must be signed in to change notification settings - Fork 97
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
Directory with 5.0
in path always serves 404
#139
Comments
@JustinBeckwith I had a quick look at this and it seems we need
Then linkinator is passing here:
I haven't tested it with unit tests since I'm having trouble setting up the repo on vanilla Windows 10. @styfle friendly CC in case you can help us here :) EDIT: Alternatively, maybe the check should look for other sibling folders too or something? |
Thanks for the repro steps! Indeed, this does look like a duplicate of #120 so I'll close this one. |
Lovely library - thank you for building it! I ran into a rather bizarre problem when trying to debug JustinBeckwith/linkinator#233. There is a route that looks like
http://localhost:3000/docs/5.0/
which always returns a 404, even with anindex.html
in that local directory. I have a full simple reproduction here:https://github.com/JustinBeckwith/serve-bug
The code is simple enough:
With a directory structure like this:
The routes that go to
docs/normal
anddocs/6
work - only the5.0
route causes a 404. Please do let me know if there's anything else I can do to help with a reproduction.cc @XhmikosR
The text was updated successfully, but these errors were encountered: