Browse Source

Merge pull request #23751 from abpframework/update-telemetry-api-url-define

Refactor AbpTelemetryApiUrl to use static property
pull/23756/head
İsmail ÇAĞDAŞ 5 months ago
committed by GitHub
parent
commit
55d4d230e4
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 15
      framework/src/Volo.Abp.Core/Volo/Abp/Internal/Telemetry/Constants/AbpPlatformUrls.cs

15
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/";
}
Loading…
Cancel
Save