rcserver: set ModTime for dirs and files served by --rc-serve

This commit is contained in:
Nikita Shoshin
2023-09-25 22:03:38 +04:00
committed by Nick Craig-Wood
parent 08bf5228a7
commit 92368f6d2b
10 changed files with 66 additions and 8 deletions

View File

@@ -23,6 +23,7 @@ type Options struct {
Template libhttp.TemplateConfig
Enabled bool // set to enable the server
Serve bool // set to serve files from remotes
ServeNoModTime bool // don't read the modification time
Files string // set to enable serving files locally
NoAuth bool // set to disable auth checks on AuthRequired methods
WebUI bool // set to launch the web ui