Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/xui/settings.html')
-rw-r--r--web/html/xui/settings.html24
1 files changed, 0 insertions, 24 deletions
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html
index 9dec0e0c..c6d5f303 100644
--- a/web/html/xui/settings.html
+++ b/web/html/xui/settings.html
@@ -309,9 +309,6 @@
},
}
},
- created() {
- this.checkForGeosites();
- },
methods: {
loading(spinning = true, obj) {
if (obj == null) this.spinning = spinning;
@@ -406,27 +403,6 @@
this.saveBtnDisable = true;
}
},
- checkForGeosites() {
- const domainsToCheck = [
- {
- query: "category-ru-gov",
- key: "this.settingsData.domains.ru",
- data: [
- "geosite:category-ru-gov",
- "regexp:.*\\.ru$"
- ]
- },
- ];
- this.loading(true);
- domainsToCheck.forEach(async (dd) => {
- const msg = await HttpUtil.get(`/panel/setting/searchDatafiles?query=${dd.query}`);
- if (msg.success && msg.obj) {
- [dd.key] = dd.data;
- console.log([dd.key])
- }
- })
- this.loading(false);
- },
checkRequiredOutbounds() {
const newTemplateSettings = this.templateSettings;
const haveIPv4Outbounds = newTemplateSettings.outbounds.some((o) => o?.tag === "IPv4");