diff --git a/src/site/api/routes.js b/src/site/api/routes.js index f5b9e6f..c5e444b 100644 --- a/src/site/api/routes.js +++ b/src/site/api/routes.js @@ -13,7 +13,7 @@ module.exports = [ { route: "/", methods: ["GET"], code: async () => { return render(200, "pug/home.pug", { - rssEnabled: constants.settings.rss_enabled, + rssEnabled: constants.feeds.enabled, allUnblocked: history.testNoneBlocked(), torAvailable: switcher.canUseTor(), hasPrivacyPolicy: constants.has_privacy_policy diff --git a/src/site/api/stats.js b/src/site/api/stats.js index bdcca4e..fb20616 100644 --- a/src/site/api/stats.js +++ b/src/site/api/stats.js @@ -64,7 +64,7 @@ const innerMap = new Map() }) addVersion("1.2", { settings: { - rssEnabled: constants.settings.rss_enabled + rssEnabled: constants.feeds.enabled } }) addVersion("1.3", {