mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-24 23:57:05 -05:00
Markdown requires a base path (for now)
This commit is contained in:
parent
46f5325c15
commit
ce74333348
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ func parse(c middleware.Controller) ([]MarkdownConfig, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get the path scope
|
// Get the path scope
|
||||||
if !c.NextArg() {
|
if !c.NextArg() || c.Val() == "{" {
|
||||||
return mdconfigs, c.ArgErr()
|
return mdconfigs, c.ArgErr()
|
||||||
}
|
}
|
||||||
md.PathScope = c.Val()
|
md.PathScope = c.Val()
|
||||||
|
|
Loading…
Add table
Reference in a new issue