Explorar o código

default write key to empty

Jeffrey Morgan hai 1 ano
pai
achega
45bf83ff58
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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')