mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
Hopefully fix #159
Former-commit-id: fee7b5c6a519d5a6ff26b2a653a3c82984f1dead [formerly 7fee30ae26f6941db1b718b64adfa6250aaf82c3] [formerly 46a761a926a67c0d0f8f49e84369912eba1377ef [formerly fbd0cf0c14
]]
Former-commit-id: 4bdbf9a31f827d8aa36bad9b89f27bd5a373b75c [formerly 7e747b4e27d6958ff8448b5e5e2fe6716821a9ff]
Former-commit-id: a30d3b204d318b1d84e8583d5bbdbc6761852e2a
This commit is contained in:
parent
3469d8c6e8
commit
73d74394c8
@ -52,7 +52,7 @@ func parse(c *caddy.Controller) ([]*filemanager.FileManager, error) {
|
||||
// Get the baseURL and baseScope
|
||||
args := c.RemainingArgs()
|
||||
|
||||
if len(args) == 1 {
|
||||
if len(args) >= 1 {
|
||||
directory = args[0]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user