-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
fileserver: add sort
options
#6468
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
Conversation
"file_server": { | ||
"size": {}, | ||
"desc": {} | ||
}, | ||
"file_server_order": [ | ||
"size", | ||
"desc" | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new field is sort
, so these lines cannot be right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...my fault
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this enhancement. I just want to make sure that the rather freeform input is strictly validated to prevent surprises.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, getting closer!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thank you!
I think we can give this a shot. Please help maintain this feature if any bugs are reported 😊
Of course. Thanks again :) |
I have tested the config:
Additionally, a
.caddyfiletest
file were wrote, but I don't know how to run it.The related doc PR can be found here.