fix #2526 Backdrop优先调整为取art

This commit is contained in:
InfinityPacer
2024-07-07 23:03:34 +08:00
parent 41e2907168
commit f102119eef
2 changed files with 11 additions and 10 deletions

View File

@ -269,6 +269,7 @@ class RequestUtils:
# 如果路径为空,则默认为 '/'
if path is None:
path = '/'
host = RequestUtils.standardize_base_url(host)
# 使用 urljoin 合并 host 和 path
url = urljoin(host, path)
# 解析当前 URL 的组成部分