mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 20:00:29 +01:00
No analytics in dev
This commit is contained in:
@@ -72,7 +72,7 @@ pub fn track_event(
|
||||
.get(&url)
|
||||
.query(¶ms);
|
||||
|
||||
if !is_dev() {
|
||||
if is_dev() {
|
||||
println!("Ignore dev analytics event: {} {:?}", event, params);
|
||||
} else if let Err(e) = req.send().await {
|
||||
println!(
|
||||
|
||||
Reference in New Issue
Block a user