mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 09:35:00 +09:00
fix amplitude metrics init
This commit is contained in:
parent
4e941a43f0
commit
9ac73b68e3
3 changed files with 6 additions and 4 deletions
|
@ -73,8 +73,7 @@ func main() {
|
|||
http.ListenAndServe(debug, nil)
|
||||
}()
|
||||
}
|
||||
|
||||
metrics.SharedClient.InitWithKey("406eb9bda5a4f8b94d1ca05936acab59")
|
||||
metrics.SharedClient.InitWithKey(metrics.DefaultAmplitudeKey)
|
||||
|
||||
var stopChan = make(chan os.Signal, 2)
|
||||
signal.Notify(stopChan, os.Interrupt, syscall.SIGTERM, syscall.SIGINT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue