-
Notifications
You must be signed in to change notification settings - Fork 119
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
directories without a trailing slash #31
Comments
Happy to submit a PR if I can be directed on where would be best to add this, since |
ah yea I think it used to redirect, been a while since I've looked at the code maybe that never made it over |
+1ing this issue, as I'm using Koa.js to serve my Metalsmith blog. Is it possible to get this worked out? I don't want to use other static middleware in Koa.js because this one seems to be the supported/popular one. |
+1 |
I just submitted a pull request for this issue : #51. Is it possible to accept it and to publish it on NPM as soon as you have time ? |
Thanks for figuring this one out Pierre. On Tue, Oct 06, 2015 at 05:57:40AM -0700, Pierre BURGY wrote:
|
I finally did the pull request at the koa-send level : koajs/send#28 |
Landed in koa-send@2, koa-static@1.5 |
Would be nice to mimic most static file servers and not require a trailing slash for directories, so that you could do both:
Without having to care (since users aren't likely to type the trailing slash when sharing URLs to things) and they would both work.
The text was updated successfully, but these errors were encountered: