1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-09-28 23:07:30 +00:00

Fix feed setting reporting

This commit is contained in:
Cadence Ember 2020-05-01 14:37:27 +12:00
parent 1f5d183a5e
commit 093a2cd9e9
No known key found for this signature in database
GPG Key ID: 128B99B1B74A6412
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -64,7 +64,7 @@ const innerMap = new Map()
})
addVersion("1.2", {
settings: {
rssEnabled: constants.settings.rss_enabled
rssEnabled: constants.feeds.enabled
}
})
addVersion("1.3", {