add new api event proxy (#1400)
parent
731d84faaa
commit
01775e5bff
|
@ -14,6 +14,7 @@ import {ScreenEvent, TrackEvent} from './types'
|
||||||
const segmentClient = createClient({
|
const segmentClient = createClient({
|
||||||
writeKey: '8I6DsgfiSLuoONyaunGoiQM7A6y2ybdI',
|
writeKey: '8I6DsgfiSLuoONyaunGoiQM7A6y2ybdI',
|
||||||
trackAppLifecycleEvents: false,
|
trackAppLifecycleEvents: false,
|
||||||
|
proxy: 'https://api.events.bsky.app/v1',
|
||||||
})
|
})
|
||||||
|
|
||||||
export const track = segmentClient?.track?.bind?.(segmentClient) as TrackEvent
|
export const track = segmentClient?.track?.bind?.(segmentClient) as TrackEvent
|
||||||
|
|
Loading…
Reference in New Issue