瀏覽代碼

trival (#3325)

### What problem does this PR solve?



### Type of change


- [x] Performance Improvement
tags/v0.14.0
Kevin Hu 11 月之前
父節點
當前提交
3faae0b2c2
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      api/utils/web_utils.py

+ 1
- 1
api/utils/web_utils.py 查看文件

@@ -77,4 +77,4 @@ def __get_pdf_from_html(


def is_valid_url(url: str) -> bool:
return bool(re.match(r"(https?|ftp|file)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]", url))
return bool(re.match(r"(https?)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]", url))

Loading…
取消
儲存