mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-19 09:24:20 +00:00
close #46; needs doc update
This commit is contained in:
parent
c274391865
commit
7ebdadbbab
2 changed files with 8 additions and 11 deletions
|
|
@ -170,7 +170,6 @@ func Run(c *config.Config) {
|
|||
|
||||
commands.MainSite = nil
|
||||
viper.Reset()
|
||||
c.Args = append([]string{"--source", c.Path}, c.Args...)
|
||||
commands.HugoCmd.ParseFlags(c.Args)
|
||||
if err := commands.HugoCmd.RunE(nil, nil); err != nil {
|
||||
log.Print(err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue