mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac
This commit is contained in:
parent
6e531679f4
commit
143d3fbce2
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue