mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-26 01:37:28 +00:00
Fix feed setting reporting
This commit is contained in:
parent
1f5d183a5e
commit
093a2cd9e9
@ -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…
Reference in New Issue
Block a user