mirror of
				https://git.sr.ht/~cadence/bibliogram
				synced 2025-10-31 03:25:36 +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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user