diff --git a/src/component/applist.ts b/src/component/applist.ts index 20578c9..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/applist.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/applist.json' + 'https://source.dwebdapp.com/dweb-browser-apps/dweb-apps/nilai-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() }