mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
Markdown: Rename 'development' to 'dev' in config.
This commit is contained in:
parent
2ab466599d
commit
1d3d705aae
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ func markdownParse(c *Controller) ([]markdown.Config, error) {
|
||||||
// only 1 argument allowed
|
// only 1 argument allowed
|
||||||
return mdconfigs, c.ArgErr()
|
return mdconfigs, c.ArgErr()
|
||||||
}
|
}
|
||||||
case "development":
|
case "dev":
|
||||||
if c.NextArg() {
|
if c.NextArg() {
|
||||||
md.Development = strings.ToLower(c.Val()) == "true"
|
md.Development = strings.ToLower(c.Val()) == "true"
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue