mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-09 11:59:01 +02:00
refac
Co-Authored-By: Syed Osama Ali Shah <86572800+osamaali313@users.noreply.github.com>
This commit is contained in:
@@ -19,7 +19,7 @@ def get_filtered_results(results, filter_list):
|
||||
if not validators.url(url):
|
||||
continue
|
||||
|
||||
domain = urlparse(url).netloc
|
||||
domain = urlparse(url).hostname
|
||||
if not domain:
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user