mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 15:00:57 +03:00
Chore/disable telemetry by default (#4427)
disable telemetry by default
This commit is contained in:
@@ -8,8 +8,8 @@ export class Telemetry {
|
||||
postHog?: PostHog
|
||||
|
||||
constructor() {
|
||||
if (process.env.DISABLE_FLOWISE_TELEMETRY !== 'true') {
|
||||
this.postHog = new PostHog('phc_jEDuFYnOnuXsws986TLWzuisbRjwFqTl9JL8tDMgqme')
|
||||
if (process.env.POSTHOG_PUBLIC_API_KEY) {
|
||||
this.postHog = new PostHog(process.env.POSTHOG_PUBLIC_API_KEY)
|
||||
} else {
|
||||
this.postHog = undefined
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user