Skip to content

Commit

Permalink
Merge pull request #49 from G-Core/feature/CDI-567-remove-the-webp-de…
Browse files Browse the repository at this point in the history
…precated-option

CDI-567: remove the Webp legacy option
  • Loading branch information
andrei-lukyanchyk authored Feb 22, 2024
2 parents 0b2a40f + ecb05bf commit e256a19
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions gcore/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ type Options struct {
UserAgentACL *UserAgentACL `json:"user_agent_acl"`
UseRSALECert *UseRSALECert `json:"use_rsa_le_cert"`
WAF *WAF `json:"waf"`
Webp *Webp `json:"webp"` // deprecated in favor of image_stack
WebSockets *WebSockets `json:"websockets"`
}

Expand Down Expand Up @@ -291,14 +290,6 @@ type WAF struct {
Value bool `json:"value"`
}

// deprecated in favor of ImageStack
type Webp struct {
Enabled bool `json:"enabled"`
JPGQuality int `json:"jpg_quality"`
PNGQuality int `json:"png_quality"`
PNGLossless bool `json:"png_lossless"`
}

type WebSockets struct {
Enabled bool `json:"enabled"`
Value bool `json:"value"`
Expand Down

0 comments on commit e256a19

Please sign in to comment.