Skip to content

Commit

Permalink
Add vanity domain and SSL options to CDN (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
optik-aper authored Oct 1, 2024
1 parent bfd537c commit 6cb2b71
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cdn.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ type CDNZone struct {
Label string `json:"label"`
OriginScheme string `json:"origin_scheme,omitempty"`
OriginDomain string `json:"origin_domain,omitempty"`
VanityDomain string `json:"vanity_domain,omitempty"`
SSLCert string `json:"ssl_cert,omitempty"`
SSLCertKey string `json:"ssl_cert_key,omitempty"`
CDNURL string `json:"cdn_url"`
CacheSize int `json:"cache_size"`
Requests int `json:"requests"`
Expand All @@ -62,6 +65,9 @@ type CDNZoneReq struct {
Label string `json:"label"`
OriginScheme string `json:"origin_scheme,omitempty"`
OriginDomain string `json:"origin_domain,omitempty"`
VanityDomain string `json:"vanity_domain,omitempty"`
SSLCert string `json:"ssl_cert,omitempty"`
SSLCertKey string `json:"ssl_cert_key,omitempty"`
CORS bool `json:"cors"`
GZIP bool `json:"gzip"`
BlockAI bool `json:"block_ai"`
Expand Down

0 comments on commit 6cb2b71

Please sign in to comment.