mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-31 16:39:06 +08:00
Export types and fields necessary to build configs (for config adapters)
Also flag most fields with 'omitempty' for JSON marshaling
This commit is contained in:
@ -15,7 +15,7 @@ import (
|
||||
|
||||
// Browse configures directory browsing.
|
||||
type Browse struct {
|
||||
TemplateFile string `json:"template_file"`
|
||||
TemplateFile string `json:"template_file,omitempty"`
|
||||
|
||||
template *template.Template
|
||||
}
|
||||
|
Reference in New Issue
Block a user