disable amplitude on debug build

This commit is contained in:
Tamo
2021-06-16 17:12:49 +02:00
parent c0d169e79e
commit 4e2568fd6e
4 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@ mod index_controller;
pub mod option;
pub mod routes;
#[cfg(feature = "analytics")]
#[cfg(all(not(debug_assertions), feature = "analytics"))]
pub mod analytics;
pub use self::data::Data;