-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
How to update 0.19.0 -> 1.1.0 #242
Comments
There's a history file here: https://github.com/pillarjs/send/blob/master/HISTORY.md#100-beta1--2022-02-04 But I don't see anything that can help me debug the snippet you pasted. Do you have the |
I know there is a space in the path, but I tried to mask it with a backslash \ or encode it, nothing helped. Thanks for the quick reply, though! |
This is really helpful, it looks like the package could use some updates to the README and release notes. In this case I think it's due to a change in
In 0.x it only hid files when the began with a Do you need the ability to access files from hidden directories? Or just hidden files? You could tweak the |
Oh, i didn't guess that, because its a dot"folder". Yet, the moment i read the dotfiles entry in the docs i understand that this means files and directories the moment they are on the path. I don't want to ever serve hidden files, the files i serve are located in a hidden directory. …But I saw you just added »The default value is similar to 'ignore', with the exception that this default will not ignore the files within a directory that begins with a dot, for backward-compatibility.«? – That's my best-case, thanks! On another note: If |
Yeah, that's an outdated note in the README. The default behavior in 1.0 was changed to
There's no error for this, but it was probably printed if you enable debugging: Line 460 in dc6b5d4
|
Does that mean you'd want an option like how it behaved in < 1.0? Something like |
On the other side: Is it possible to set my
Maybe that's a good solution because I knowingly opt in to serve from a dotdirectory and my path is controlled by |
Hi guys,
What is version 1.x doing?
Can you provide a migration guide or similar?
I was using 0.19.0 before and updated to 1.1.0, but send failed with a 404, so I switched back to 0.19.0.
Cannot find any information.
Thanks!
The text was updated successfully, but these errors were encountered: