mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 09:34:31 +08:00
修复订阅链接正则判断
This commit is contained in:
@@ -17,7 +17,7 @@ import isNil from 'lodash/isNil';
|
||||
|
||||
const { Option } = Select;
|
||||
const repoUrlRegx = /([^\/\:]+\/[^\/]+)(?=\.git)/;
|
||||
const fileUrlRegx = /([^\/\:]+\/[^\/\.]+)\.[a-z]+$/;
|
||||
const fileUrlRegx = /([^\/\:]+\/[^\/\.]+)\.[a-z]+(\?[^\s]*)?(#.*)?$/;
|
||||
|
||||
const SubscriptionModal = ({
|
||||
subscription,
|
||||
|
||||
Reference in New Issue
Block a user