Skip to content

Commit

Permalink
remove x-posthog-token header
Browse files Browse the repository at this point in the history
this causes lots of preflight requests so probably isn't worth it in the end. Not in use yet
  • Loading branch information
frankh committed Aug 13, 2024
1 parent b05dd08 commit 7548cb6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/posthog-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,6 @@ export class PostHog {
})
options.headers = {
...this.config.request_headers,
'x-posthog-token': this.config.token,
}
options.compression = options.compression === 'best-available' ? this.compression : options.compression

Expand Down

0 comments on commit 7548cb6

Please sign in to comment.