mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-15 05:02:16 +01:00
No analytics in dev
This commit is contained in:
1 parent
d97986e526
commit
136e9f2738
1 file changed
+1
-1
@@ -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