mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-23 00:27:30 +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 () => {
|
route: "/", methods: ["GET"], code: async () => {
|
||||||
return render(200, "pug/home.pug", {
|
return render(200, "pug/home.pug", {
|
||||||
rssEnabled: constants.settings.rss_enabled,
|
rssEnabled: constants.feeds.enabled,
|
||||||
allUnblocked: history.testNoneBlocked(),
|
allUnblocked: history.testNoneBlocked(),
|
||||||
torAvailable: switcher.canUseTor(),
|
torAvailable: switcher.canUseTor(),
|
||||||
hasPrivacyPolicy: constants.has_privacy_policy
|
hasPrivacyPolicy: constants.has_privacy_policy
|
||||||
|
@ -64,7 +64,7 @@ const innerMap = new Map()
|
|||||||
})
|
})
|
||||||
addVersion("1.2", {
|
addVersion("1.2", {
|
||||||
settings: {
|
settings: {
|
||||||
rssEnabled: constants.settings.rss_enabled
|
rssEnabled: constants.feeds.enabled
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
addVersion("1.3", {
|
addVersion("1.3", {
|
||||||
|
Loading…
Reference in New Issue
Block a user