2026-03-19 01:12:17 +08:00
|
|
|
export const config = {
|
2026-03-25 17:40:04 +08:00
|
|
|
apiBaseUrl: process.env.EXPO_PUBLIC_API_URL ?? 'http://192.168.10.151:8000',
|
|
|
|
|
wsBaseUrl: process.env.EXPO_PUBLIC_WS_URL ?? 'ws://192.168.10.151:8000',
|
2026-03-19 01:12:17 +08:00
|
|
|
isDebugMode: __DEV__,
|
|
|
|
|
|
|
|
|
|
api: {
|
|
|
|
|
timeoutMs: 30_000,
|
|
|
|
|
refreshPath: '/api/auth/refresh',
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
ws: {
|
|
|
|
|
reconnectMaxRetries: 10,
|
|
|
|
|
reconnectBaseDelayMs: 1_000,
|
|
|
|
|
reconnectMaxDelayMs: 30_000,
|
|
|
|
|
heartbeatIntervalMs: 30_000,
|
|
|
|
|
},
|
|
|
|
|
} as const;
|