Skip to content

Commit 285e2a6

Browse files
committed
switch default endpoint to new capture
1 parent d77f32c commit 285e2a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ mod error;
33
mod event;
44
mod global;
55

6-
const API_ENDPOINT: &str = "https://us.i.posthog.com/capture/";
6+
const API_ENDPOINT: &str = "https://us.i.posthog.com/i/v0/e/";
77

88
// Public interface - any change to this is breaking!
99
// Client

0 commit comments

Comments
 (0)