diff --git a/model/config.go b/model/config.go index 5b52767ca2..f5e8fe27a2 100644 --- a/model/config.go +++ b/model/config.go @@ -394,6 +394,10 @@ func (s *ServiceSettings) SetDefaults() { if s.PostEditTimeLimit == nil { s.PostEditTimeLimit = NewInt(300) } + + if s.EnablePreviewFeatures == nil { + s.EnablePreviewFeatures = NewBool(true) + } } type ClusterSettings struct {