mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
web: default telemetry state should follow DNT header
This commit is contained in:
@@ -22,7 +22,7 @@ import Config from "./config";
|
||||
export function isTelemetryEnabled() {
|
||||
return (
|
||||
process.env.NODE_ENV === "production" &&
|
||||
(Config.get("telemetry", true) || !doNotTrack())
|
||||
(Config.get("telemetry", doNotTrack()) || !doNotTrack())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user