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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
8 additions and
7 deletions
-
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/"; |
|
|
|
} |