diff --git a/packages/common/src/config.ts b/packages/common/src/config.ts index 5d626d0..93cf133 100644 --- a/packages/common/src/config.ts +++ b/packages/common/src/config.ts @@ -1,6 +1,6 @@ export interface XuqmInitOptions { appId: string - serverUrl: string // e.g. "https://sentry.xuqinmin.com" — SDK fetches config from here + serverUrl: string // e.g. "https://dev.xuqinmin.com" — SDK fetches config from here appKey?: string debug?: boolean } diff --git a/packages/common/src/constants.ts b/packages/common/src/constants.ts index 9401452..ddd770b 100644 --- a/packages/common/src/constants.ts +++ b/packages/common/src/constants.ts @@ -4,9 +4,9 @@ * XuqmSDK.initialize(). These constants are kept only as fallback * references and for backward compatibility. */ -export const API_BASE_URL = 'https://sentry.xuqinmin.com' +export const API_BASE_URL = 'https://dev.xuqinmin.com' /** * @deprecated See API_BASE_URL. */ -export const IM_WS_URL = 'wss://sentry.xuqinmin.com/ws/im' +export const IM_WS_URL = 'wss://dev.xuqinmin.com/ws/im' diff --git a/packages/common/src/sdk.ts b/packages/common/src/sdk.ts index 3c1a459..714dd0a 100644 --- a/packages/common/src/sdk.ts +++ b/packages/common/src/sdk.ts @@ -6,7 +6,7 @@ export const XuqmSDK = { * Recommended for production use. * * @param options.appId - Your application ID (from the tenant platform) - * @param options.serverUrl - Base URL of the tenant platform, e.g. "https://sentry.xuqinmin.com" + * @param options.serverUrl - Base URL of the tenant platform, e.g. "https://dev.xuqinmin.com" * @param options.appKey - Optional; defaults to appId * @param options.debug - Enable verbose logging */ @@ -38,7 +38,7 @@ export const XuqmSDK = { * Kept for backward compatibility; prefer initialize() for production use. * * @param options.appId - Your application ID (from the tenant platform) - * @param options.serverUrl - Base URL of the tenant platform, e.g. "https://sentry.xuqinmin.com" + * @param options.serverUrl - Base URL of the tenant platform, e.g. "https://dev.xuqinmin.com" * @param options.appKey - Optional; defaults to appId * @param options.debug - Enable verbose logging */