mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 00:52:40 +00:00
chore: 增加部分 clash.meta(mihomo) 内核客户端的 User-Agent(clash-verge, flclash)
This commit is contained in:
@@ -28,7 +28,9 @@ export function getPlatformFromUserAgent({ ua, UA }) {
|
||||
return 'Stash';
|
||||
} else if (
|
||||
ua === 'meta' ||
|
||||
(ua.indexOf('clash') !== -1 && ua.indexOf('meta') !== -1)
|
||||
(ua.indexOf('clash') !== -1 && ua.indexOf('meta') !== -1) ||
|
||||
ua.indexOf('clash-verge') !== -1 ||
|
||||
ua.indexOf('flclash') !== -1
|
||||
) {
|
||||
return 'ClashMeta';
|
||||
} else if (ua.indexOf('clash') !== -1) {
|
||||
|
||||
Reference in New Issue
Block a user