mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-26 09:24:08 +00:00
Add Absolute url config
This commit is contained in:
parent
fc062e55f0
commit
8c6cbe1f05
1 changed files with 1 additions and 0 deletions
1
setup.go
1
setup.go
|
|
@ -96,6 +96,7 @@ func setup(c *caddy.Controller) error {
|
|||
FrontMatter: format,
|
||||
Root: http.Dir(conf.Root),
|
||||
BaseURL: conf.BaseURL,
|
||||
AbsoluteURL: strings.Replace(cnf.Addr.Path+"/"+conf.BaseURL, "//", "/", -1),
|
||||
StyleSheet: conf.Styles,
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue