diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/Internal/Telemetry/Constants/AbpPlatformUrls.cs b/framework/src/Volo.Abp.Core/Volo/Abp/Internal/Telemetry/Constants/AbpPlatformUrls.cs index 61f2907e8f..770a8c1d72 100644 --- a/framework/src/Volo.Abp.Core/Volo/Abp/Internal/Telemetry/Constants/AbpPlatformUrls.cs +++ b/framework/src/Volo.Abp.Core/Volo/Abp/Internal/Telemetry/Constants/AbpPlatformUrls.cs @@ -2,11 +2,12 @@ namespace Volo.Abp.Internal.Telemetry.Constants; public static class AbpPlatformUrls { -#if DEBUG - public const string AbpTelemetryApiUrl = "https://localhost:44393/"; -#else - public const string AbpTelemetryApiUrl = "https://telemetry.abp.io/"; -#endif - - + public static string AbpTelemetryApiUrl + { + get => AbpTelemetryApiUrlProduction; + set => AbpTelemetryApiUrlProduction = value; + } + + public static string AbpTelemetryApiUrlProduction = "https://telemetry.abp.io/"; + public static string AbpTelemetryApiUrlDevelopment = "https://localhost:44393/"; } \ No newline at end of file