mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-11 04:32:58 +00:00
remove deprecated option
This commit is contained in:
parent
d1c598b535
commit
db4b01839a
@ -82,13 +82,6 @@ func Parse(c *caddy.Controller) ([]Config, error) {
|
|||||||
|
|
||||||
for c.NextBlock() {
|
for c.NextBlock() {
|
||||||
switch c.Val() {
|
switch c.Val() {
|
||||||
case "on":
|
|
||||||
// NOTE: DEPRECATED
|
|
||||||
if !c.NextArg() {
|
|
||||||
return configs, c.ArgErr()
|
|
||||||
}
|
|
||||||
|
|
||||||
cfg.BaseURL = c.Val()
|
|
||||||
case "frontmatter":
|
case "frontmatter":
|
||||||
if !c.NextArg() {
|
if !c.NextArg() {
|
||||||
return configs, c.ArgErr()
|
return configs, c.ArgErr()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user