发布球局
This commit is contained in:
@@ -7,7 +7,6 @@ export type EnvType = 'development' | 'test' | 'production'
|
||||
export interface EnvConfig {
|
||||
name: string
|
||||
apiBaseURL: string
|
||||
apiVersion: string
|
||||
timeout: number
|
||||
enableLog: boolean
|
||||
enableMock: boolean
|
||||
@@ -18,8 +17,7 @@ const envConfigs: Record<EnvType, EnvConfig> = {
|
||||
// 开发环境
|
||||
development: {
|
||||
name: '开发环境',
|
||||
apiBaseURL: 'https://dev-api.playballtogether.com',
|
||||
apiVersion: 'v1',
|
||||
apiBaseURL: 'https://sit.light120.com',
|
||||
timeout: 15000,
|
||||
enableLog: true,
|
||||
enableMock: true
|
||||
@@ -28,8 +26,7 @@ const envConfigs: Record<EnvType, EnvConfig> = {
|
||||
// 测试环境
|
||||
test: {
|
||||
name: '测试环境',
|
||||
apiBaseURL: 'https://test-api.playballtogether.com',
|
||||
apiVersion: 'v1',
|
||||
apiBaseURL: 'https://sit.light120.com',
|
||||
timeout: 12000,
|
||||
enableLog: true,
|
||||
enableMock: false
|
||||
@@ -38,8 +35,7 @@ const envConfigs: Record<EnvType, EnvConfig> = {
|
||||
// 生产环境
|
||||
production: {
|
||||
name: '生产环境',
|
||||
apiBaseURL: 'https://api.playballtogether.com',
|
||||
apiVersion: 'v1',
|
||||
apiBaseURL: 'https://sit.light120.com',
|
||||
timeout: 10000,
|
||||
enableLog: false,
|
||||
enableMock: false
|
||||
|
||||
Reference in New Issue
Block a user