Skip to content

Commit e1ce380

Browse files
committed
Debug builds should not affect public statistics server
1 parent 72bb1e3 commit e1ce380

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/UniGetUI.Interface.Telemetry/TelemetryHandler.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,13 @@ public enum TEL_OP_RESULT
2828

2929
public static class TelemetryHandler
3030
{
31-
31+
#if DEBUG
32+
private const string HOST = "http://localhost:3000";
33+
#else
3234
private const string HOST = "https://marticliment.com/unigetui/statistics";
33-
private static string[] SettingsToSend =
35+
#endif
36+
37+
private static readonly string[] SettingsToSend =
3438
{
3539
"DisableAutoUpdateWingetUI",
3640
"EnableUniGetUIBeta",

0 commit comments

Comments
 (0)