소스 검색

default write key to empty

Jeffrey Morgan 1 년 전
부모
커밋
45bf83ff58
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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')