mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-22 08:07:30 +00:00
Add assistant to features
This commit is contained in:
parent
3e2cb7aa22
commit
42cede08e5
@ -40,6 +40,10 @@ const features = [
|
||||
"BLOCK_DETECT_USER_HTML"
|
||||
]
|
||||
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 addVersion = function(shortVersion, block) {
|
||||
|
Loading…
Reference in New Issue
Block a user