Implement redaction for search results
This commit is contained in:
@@ -10,6 +10,11 @@ OPENSEARCH_INDEX_META = "meta"
|
||||
|
||||
OPENSEARCH_MAIN_SEARCH_FIELDS = ["msg"]
|
||||
|
||||
OPENSEARCH_BLACKLISTED = {
|
||||
"msg": ["example.com"],
|
||||
"nick": ["me"],
|
||||
}
|
||||
|
||||
# URLs
|
||||
DOMAIN = "example.com"
|
||||
URL = f"https://{DOMAIN}"
|
||||
|
||||
Reference in New Issue
Block a user