focalboard/server/app/clientConfig.go

15 lines
374 B
Go
Raw Normal View History

package app
import (
"github.com/mattermost/focalboard/server/model"
)
func (a *App) GetClientConfig() *model.ClientConfig {
return &model.ClientConfig{
Telemetry: a.config.Telemetry,
TelemetryID: a.config.TelemetryID,
EnablePublicSharedBoards: a.config.EnablePublicSharedBoards,
FeatureFlags: a.config.FeatureFlags,
}
}