mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2026-03-01 18:31:35 +00:00
Add assistant to features
This commit is contained in:
parent
3e2cb7aa22
commit
42cede08e5
1 changed files with 4 additions and 0 deletions
|
|
@ -40,6 +40,10 @@ const features = [
|
||||||
"BLOCK_DETECT_USER_HTML"
|
"BLOCK_DETECT_USER_HTML"
|
||||||
]
|
]
|
||||||
if (constants.has_privacy_policy) features.push("PRIVACY_POLICY")
|
if (constants.has_privacy_policy) features.push("PRIVACY_POLICY")
|
||||||
|
if (constants.as_assistant.enabled) {
|
||||||
|
if (constants.as_assistant.require_key) features.push("ASSISTANT_PRIVATE")
|
||||||
|
else features.push("ASSISTANT_PUBLIC")
|
||||||
|
}
|
||||||
const innerMap = new Map()
|
const innerMap = new Map()
|
||||||
{
|
{
|
||||||
const addVersion = function(shortVersion, block) {
|
const addVersion = function(shortVersion, block) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue