修复订阅链接正则判断

This commit is contained in:
whyour committed 2026-07-02 00:08:39 +08:00
1 parent e92ddb0aed
commit 38d84f9f31
5 files changed
+23 -21

No files matched your search

+1 -1
View File
@@ -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,