mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2026-04-04 05:23:25 +08:00
feat: ProxyUtils 增加 getFlag, getISO 方法
This commit is contained in:
@@ -15,6 +15,7 @@ import $ from '@/core/app';
|
||||
import { FILES_KEY, MODULES_KEY } from '@/constants';
|
||||
import { findByName } from '@/utils/database';
|
||||
import { produceArtifact } from '@/restful/sync';
|
||||
import { getFlag, getISO } from '@/utils/geo';
|
||||
|
||||
function preprocess(raw) {
|
||||
for (const processor of PROXY_PREPROCESSORS) {
|
||||
@@ -258,6 +259,8 @@ export const ProxyUtils = {
|
||||
isIPv6,
|
||||
isIP,
|
||||
yaml: YAML,
|
||||
getFlag,
|
||||
getISO,
|
||||
};
|
||||
|
||||
function tryParse(parser, line) {
|
||||
|
||||
Reference in New Issue
Block a user