mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2026-03-02 02:41:34 +00:00
Add onion location
This commit is contained in:
parent
64ab9cfcee
commit
a13daa7ced
7 changed files with 22 additions and 10 deletions
|
|
@ -21,7 +21,8 @@ module.exports = [
|
|||
rssEnabled: constants.feeds.enabled,
|
||||
allUnblocked: history.testNoneBlocked() || assistantSwitcher.displaySomeUnblocked(),
|
||||
torAvailable: switcher.canUseTor(),
|
||||
hasPrivacyPolicy: constants.has_privacy_policy
|
||||
hasPrivacyPolicy: constants.has_privacy_policy,
|
||||
onionLocation: constants.onion_location
|
||||
})
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ let commit = ""
|
|||
|
||||
// Set up inner versioning
|
||||
|
||||
const displayVersions = ["1.0", "1.1", "1.2", "1.3", "1.4"]
|
||||
const displayVersions = ["1.0", "1.1", "1.2", "1.3", "1.4", "1.5"]
|
||||
const versions = new Map(displayVersions.map(v => [v, semver.coerce(v)]))
|
||||
const features = [
|
||||
"PAGE_PROFILE",
|
||||
|
|
@ -78,6 +78,11 @@ const innerMap = new Map()
|
|||
canonicalOrigin: constants.website_origin
|
||||
}
|
||||
})
|
||||
addVersion("1.5", {
|
||||
settings: {
|
||||
onionLocation: constants.onion_location
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
module.exports = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue