From 74360f81d196211fa97ee575ad5f01f928cdfe23 Mon Sep 17 00:00:00 2001 From: filesite Date: Thu, 16 May 2024 09:12:13 +0800 Subject: [PATCH] remove url check in tajian.js --- www/js/tajian.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/www/js/tajian.js b/www/js/tajian.js index b6a2a46..1c8551a 100644 --- a/www/js/tajian.js +++ b/www/js/tajian.js @@ -130,9 +130,6 @@ if ($('#add_video_form').get(0)) { if (!inputList[0].value) { alert('请填写分享内容或网址!'); return false; - }else if (/https:\/\/[\w\.]+\/[\w]+/ig.test(inputList[0].value) == false) { - alert('目前只支持抖音、快手、西瓜视频和Bilibili的分享网址哦!'); - return false; }else if (!selectedTag) { alert('请先选择分类!'); return false;