0
Fork 0
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:
Abiola Ibrahim 2015-08-05 00:49:42 +01:00
parent 2ab466599d
commit 1d3d705aae

View file

@ -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 {