mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-16 16:28:58 +00:00
Add navigate telemetry
This commit is contained in:
@@ -7,7 +7,7 @@ const Client = @import("asyncio").Client;
|
||||
|
||||
const log = std.log.scoped(.telemetry);
|
||||
|
||||
const URL = "https://stats.lightpanda.io";
|
||||
const URL = "https://telemetry.lightpanda.io/";
|
||||
|
||||
pub const LightPanda = struct {
|
||||
uri: std.Uri,
|
||||
|
||||
@@ -10,7 +10,7 @@ const log = std.log.scoped(.telemetry);
|
||||
const ID_FILE = "lightpanda.id";
|
||||
|
||||
pub const Telemetry = TelemetryT(blk: {
|
||||
// if (builtin.mode == .Debug or builtin.is_test) break :blk NoopProvider;
|
||||
if (builtin.mode == .Debug or builtin.is_test) break :blk NoopProvider;
|
||||
break :blk @import("lightpanda.zig").LightPanda;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user