mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2025-11-19 20:56:31 +00:00
Fix feed setting reporting
This commit is contained in:
parent
1f5d183a5e
commit
093a2cd9e9
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ const innerMap = new Map()
|
|||
})
|
||||
addVersion("1.2", {
|
||||
settings: {
|
||||
rssEnabled: constants.settings.rss_enabled
|
||||
rssEnabled: constants.feeds.enabled
|
||||
}
|
||||
})
|
||||
addVersion("1.3", {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue