Skip to content

Commit

Permalink
make the origin request config a pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyKomodo committed Oct 4, 2022
1 parent 32cb243 commit 1387cbf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ type TunnelUpdateParams struct {
}

type UnvalidatedIngressRule struct {
Hostname string `json:"hostname,omitempty"`
Path string `json:"path,omitempty"`
Service string `json:"service,omitempty"`
OriginRequest OriginRequestConfig `json:"originRequest,omitempty"`
Hostname string `json:"hostname,omitempty"`
Path string `json:"path,omitempty"`
Service string `json:"service,omitempty"`
OriginRequest *OriginRequestConfig `json:"originRequest,omitempty"`
}

// OriginRequestConfig is a set of optional fields that users may set to
Expand Down

0 comments on commit 1387cbf

Please sign in to comment.