Browse Source

Refactor AbpTelemetryApiUrl to use static property

pull/23751/head
Emre KARA 1 year ago
parent
commit
f429003908
  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 public static class AbpPlatformUrls
{ {
#if DEBUG public static string AbpTelemetryApiUrl
public const string AbpTelemetryApiUrl = "https://localhost:44393/"; {
#else get => AbpTelemetryApiUrlProduction;
public const string AbpTelemetryApiUrl = "https://telemetry.abp.io/"; set => AbpTelemetryApiUrlProduction = value;
#endif }
public static string AbpTelemetryApiUrlProduction = "https://telemetry.abp.io/";
public static string AbpTelemetryApiUrlDevelopment = "https://localhost:44393/";
} }
Loading…
Cancel
Save