mirror of
https://github.com/docmost/docmost.git
synced 2025-11-18 20:01:10 +10:00
telemetry module (#934)
* update lockfile * fix color check * telemetry * complete * Use interval
This commit is contained in:
@ -182,4 +182,11 @@ export class EnvironmentService {
|
||||
.toLowerCase();
|
||||
return isStandalone === 'true';
|
||||
}
|
||||
|
||||
isDisableTelemetry(): boolean {
|
||||
const disable = this.configService
|
||||
.get<string>('DISABLE_TELEMETRY', 'false')
|
||||
.toLowerCase();
|
||||
return disable === 'true';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user