yaml omitempty

This commit is contained in:
regnaio 2022-05-15 19:33:00 -04:00
parent 66a4e2263a
commit 47bf053db6
1 changed files with 2 additions and 2 deletions

View File

@ -239,8 +239,8 @@ type IngressIPRule struct {
type Configuration struct {
TunnelID string `yaml:"tunnel"`
Ingress []UnvalidatedIngressRule
WarpRouting WarpRoutingConfig `yaml:"warp-routing"`
OriginRequest OriginRequestConfig `yaml:"originRequest"`
WarpRouting WarpRoutingConfig `yaml:"warp-routing,omitempty"`
OriginRequest OriginRequestConfig `yaml:"originRequest,omitempty"`
sourceFile string
}