mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-02 22:27:10 +01: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
|
||||
if !c.NextArg() {
|
||||
if !c.NextArg() || c.Val() == "{" {
|
||||
return mdconfigs, c.ArgErr()
|
||||
}
|
||||
md.PathScope = c.Val()
|
||||
|
|
Loading…
Reference in a new issue