From 040c3ce2ef8c5c5bff0b587afb76a0a48bace7d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E6=A1=82?= <420288518@qq.com> Date: Sun, 22 Sep 2024 21:14:22 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0tansocc=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/applist.ts | 4 ++-- src/component/version.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/component/applist.ts b/src/component/applist.ts index 20578c9..41d35c0 100644 --- a/src/component/applist.ts +++ b/src/component/applist.ts @@ -5,9 +5,9 @@ import { type AppInfo, type ConfigData, type BaseConfig, type ProductSetByType } class AppList { // 获取应用的url地址 private applistUrl_test: string = - 'https://source.dwebdapp.com/dweb-browser-apps/dweb-apps-test/applist.json' + 'https://source.dwebdapp.com/dweb-browser-apps/dweb-apps-test/tansocc-list.json' private applistUrl_prod: string = - 'https://source.dwebdapp.com/dweb-browser-apps/dweb-apps/applist.json' + 'https://source.dwebdapp.com/dweb-browser-apps/dweb-apps/tansocc-list.json' private data: ConfigData | undefined diff --git a/src/component/version.ts b/src/component/version.ts index eabbf76..1b422f2 100644 --- a/src/component/version.ts +++ b/src/component/version.ts @@ -29,7 +29,7 @@ class EnvironmentConfig { constructor() { const domain = window.location.href.split('/')[2] - const isTest = domain.indexOf('test') > -1 + const isTest = domain.indexOf('test') > -1 || domain.indexOf('172.30.93.208') > -1 || domain.indexOf('172.30.95.98') > -1 // const isLocalTest = domain.indexOf('localhost') > -1 || domain.indexOf('172.30.95.6') > -1 this.currentEnv = isTest ? Environment.Test : Environment.Production @@ -57,7 +57,7 @@ class EnvironmentConfig { return this.Browser_bigVersion } - dewebTarget():number { + dewebTarget(): number { return dwebTarget() } From e75a2fe77375962a3cf34f91c5c4a4e1c8660528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E6=A1=82?= <420288518@qq.com> Date: Wed, 5 Feb 2025 18:51:27 +0800 Subject: [PATCH 2/2] =?UTF-8?q?nilai=E5=BA=94=E7=94=A8=E5=88=86=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/applist.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/component/applist.ts b/src/component/applist.ts index 41d35c0..6919af2 100644 --- a/src/component/applist.ts +++ b/src/component/applist.ts @@ -5,9 +5,9 @@ import { type AppInfo, type ConfigData, type BaseConfig, type ProductSetByType } class AppList { // 获取应用的url地址 private applistUrl_test: string = - 'https://source.dwebdapp.com/dweb-browser-apps/dweb-apps-test/tansocc-list.json' + 'https://source.dwebdapp.com/dweb-browser-apps/dweb-apps-test/nilai-list.json' private applistUrl_prod: string = - 'https://source.dwebdapp.com/dweb-browser-apps/dweb-apps/tansocc-list.json' + 'https://source.dwebdapp.com/dweb-browser-apps/dweb-apps/nilai-list.json' private data: ConfigData | undefined