mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-28 18:23:38 +00:00
Add FM version to interface; close #221
This commit is contained in:
parent
011d5aee46
commit
59bd6e97bf
7 changed files with 10 additions and 2349 deletions
|
|
@ -228,6 +228,7 @@ func renderFile(c *fm.Context, w http.ResponseWriter, file string) (int, error)
|
|||
data := map[string]interface{}{
|
||||
"BaseURL": c.RootURL(),
|
||||
"NoAuth": c.NoAuth,
|
||||
"Version": fm.Version,
|
||||
}
|
||||
|
||||
if c.StaticGen != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue