Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/component/applist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/component/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -57,7 +57,7 @@ class EnvironmentConfig {
return this.Browser_bigVersion
}

dewebTarget():number {
dewebTarget(): number {
return dwebTarget()
}

Expand Down