Selaa lähdekoodia

default write key to empty

Jeffrey Morgan 1 vuosi sitten
vanhempi
commit
45bf83ff58
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/src/telemetry.ts

+ 1 - 1
app/src/telemetry.ts

@@ -4,7 +4,7 @@ import { v4 as uuidv4 } from 'uuid'
 const Store = require('electron-store')
 const store = new Store()
 
-export const analytics = new Analytics({ writeKey: process.env.TELEMETRY_WRITE_KEY })
+export const analytics = new Analytics({ writeKey: process.env.TELEMETRY_WRITE_KEY || '' })
 
 export function id(): string {
   const id = store.get('id')