News: Expose config option to disable News feed (#69365)

* customize news feed

* remove url customisation
This commit is contained in:
Ashley Harrison
2023-06-01 13:35:05 +01:00
committed by GitHub
parent 6d9db92a07
commit 778963849e
11 changed files with 30 additions and 7 deletions
+1
View File
@@ -123,6 +123,7 @@ func (hs *HTTPServer) getFrontendSettings(c *contextmodel.ReqContext) (*dtos.Fro
ExploreEnabled: setting.ExploreEnabled,
HelpEnabled: setting.HelpEnabled,
ProfileEnabled: setting.ProfileEnabled,
NewsFeedEnabled: setting.NewsFeedEnabled,
QueryHistoryEnabled: hs.Cfg.QueryHistoryEnabled,
GoogleAnalyticsId: hs.Cfg.GoogleAnalyticsID,
GoogleAnalytics4Id: hs.Cfg.GoogleAnalytics4ID,