mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac
This commit is contained in:
@@ -56,7 +56,6 @@ def is_string_allowed(
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
allow_list, block_list = get_allow_block_lists(filter_list)
|
allow_list, block_list = get_allow_block_lists(filter_list)
|
||||||
print(string, allow_list, block_list)
|
|
||||||
strings = [string] if isinstance(string, str) else list(string)
|
strings = [string] if isinstance(string, str) else list(string)
|
||||||
|
|
||||||
# If allow list is non-empty, require domain to match one of them
|
# If allow list is non-empty, require domain to match one of them
|
||||||
|
|||||||
Reference in New Issue
Block a user