mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 10:28:06 -05:00
chore: format
This commit is contained in:
@@ -7,9 +7,7 @@ _ALLOWED_STATIC_PATHS = (
|
||||
)
|
||||
|
||||
# External URL prefixes that are explicitly trusted for profile images
|
||||
_ALLOWED_URL_PREFIXES = (
|
||||
'https://www.gravatar.com/avatar/',
|
||||
)
|
||||
_ALLOWED_URL_PREFIXES = ('https://www.gravatar.com/avatar/',)
|
||||
|
||||
|
||||
def validate_profile_image_url(url: str) -> str:
|
||||
|
||||
Reference in New Issue
Block a user