mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01: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