Skip to content

Commit

Permalink
Partial revert of PR #4911
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Nov 15, 2024
1 parent c3e3ccc commit 5ede25e
Show file tree
Hide file tree
Showing 6 changed files with 1,176 additions and 106 deletions.
6 changes: 0 additions & 6 deletions internal/grpc/services/gateway/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ type config struct {
EtagCacheTTL int `mapstructure:"etag_cache_ttl"`
AllowedUserAgents map[string][]string `mapstructure:"allowed_user_agents"` // map[path][]user-agent
CreateHomeCacheTTL int `mapstructure:"create_home_cache_ttl"`
HomeLayout string `mapstructure:"home_layout"`
}

// sets defaults.
Expand Down Expand Up @@ -112,11 +111,6 @@ func (c *config) ApplyDefaults() {
if c.TransferExpires == 0 {
c.TransferExpires = 100 * 60 // seconds
}

// default to /home
if c.HomeLayout == "" {
c.HomeLayout = "/home"
}
}

type svc struct {
Expand Down
Loading

0 comments on commit 5ede25e

Please sign in to comment.