diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-10-17 12:25:39 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-10-17 12:27:36 +0300 |
| commit | 1b9432ff37e5835c4c2f3f3b4d97da9e583d354d (patch) | |
| tree | 9f83c51973f14e55f4dae3bdafe6223c4da0336c /web/html/xui/settings.html | |
| parent | f1f813269c1c7814c36c6b7482367a4d1c696beb (diff) | |
move security domains into protection shield
Diffstat (limited to 'web/html/xui/settings.html')
| -rw-r--r-- | web/html/xui/settings.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index d18964f8..d7383061 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -383,12 +383,12 @@ <a-collapse v-if="enableDirect" style="margin-top: 14px;"> <a-collapse-panel header='{{ i18n "pages.xray.directips"}}'> <a-list-item style="padding: 10px 20px"> - <a-checkbox-group v-model="geoIP" :options="geoIPOptions"></a-checkbox-group> + <a-checkbox-group v-model="directIPs" :options="IPsOptions"></a-checkbox-group> </a-list-item> </a-collapse-panel> <a-collapse-panel header='{{ i18n "pages.xray.directdomains"}}'> <a-list-item style="padding: 10px 20px"> - <a-checkbox-group v-model="geoSite" :options="geoSiteOptions"></a-checkbox-group> + <a-checkbox-group v-model="directDomains" :options="DomainsOptions"></a-checkbox-group> </a-list-item> </a-collapse-panel> </a-collapse> @@ -476,7 +476,7 @@ ] }, ], - geoIPOptions: [ + IPsOptions: [ { label: 'Private IP', value: 'private' }, { label: '🇮🇷 Iran', value: 'ir' }, { label: '🇨🇳 China', value: 'cn' }, @@ -488,7 +488,7 @@ { label: '🇹🇷 Türkiye', value: 'tr' }, { label: '🇧🇷 Brazil', value: 'br' }, ], - geoSiteOptions: [ + DomainsOptions: [ { label: '🇮🇷 Iran', value: 'ir' }, { label: '🇨🇳 China', value: 'cn' }, { label: '🇷🇺 Russia', value: 'ru' }, @@ -746,7 +746,7 @@ this.allSetting.subJsonRules = v ? JSON.stringify(this.defaultRules) : ""; } }, - geoIP: { + directIPs: { get: function () { if (!this.enableDirect) return []; const rules = JSON.parse(this.allSetting.subJsonRules); @@ -772,7 +772,7 @@ this.allSetting.subJsonRules = JSON.stringify(rules); } }, - geoSite: { + directDomains: { get: function () { if (!this.enableDirect) return []; const rules = JSON.parse(this.allSetting.subJsonRules); |
