Skip to content

Commit 4f19131

Browse files
committed
feat: geo 补充梵蒂冈
1 parent 0527ad6 commit 4f19131

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store",
3-
"version": "2.20.8",
3+
"version": "2.20.9",
44
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
55
"main": "src/main.js",
66
"scripts": {

backend/src/utils/geo.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ const ISOFlags = {
110110
'🇺🇦': ['UA', 'UKR'],
111111
'🇺🇸': ['US', 'USA', 'LAX', 'SFO', 'SJC'],
112112
'🇺🇾': ['UY', 'URY'],
113+
// 新增 梵蒂冈 ISO 代码
114+
'🇻🇦': ['VA', 'VAT'],
113115
'🇻🇪': ['VE', 'VEN'],
114116
'🇻🇳': ['VN', 'VNM'],
115117
'🇿🇦': ['ZA', 'ZAF', 'JNB'],
@@ -404,6 +406,8 @@ export function getFlag(name) {
404406
'Virginia',
405407
],
406408
'🇺🇾': ['Uruguay', '乌拉圭'],
409+
// 新增 梵蒂冈 及别名
410+
'🇻🇦': ['Vatican', 'Vatican City', 'Holy See', '梵蒂冈', '梵蒂岡'],
407411
'🇻🇪': ['Venezuela', '委内瑞拉'],
408412
'🇻🇳': ['Vietnam', '越南', '胡志明'],
409413
'🇿🇦': ['South Africa', '南非'],

0 commit comments

Comments
 (0)