1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2025-12-14 10:35:07 +00:00

Add conditional PRIVACY_POLICY feature

This commit is contained in:
Cadence Fish
2020-02-05 23:14:52 +13:00
parent 8b964a18e4
commit 4c83a7804a

View File

@@ -39,6 +39,7 @@ const features = [
"API_INSTANCES", "API_INSTANCES",
"BLOCK_DETECT_USER_HTML" "BLOCK_DETECT_USER_HTML"
] ]
if (constants.has_privacy_policy) features.push("PRIVACY_POLICY")
const innerMap = new Map() const innerMap = new Map()
{ {
const addVersion = function(shortVersion, block) { const addVersion = function(shortVersion, block) {