Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/e2b-dev/E2B
Browse files Browse the repository at this point in the history
  • Loading branch information
mlejva committed Jul 19, 2024
2 parents 767eb2f + 5e3169f commit 8a30b7c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"mdx-annotations": "^0.1.1",
"next": "14.2.5",
"next-themes": "^0.2.1",
"posthog-js": "^1.77.1",
"posthog-js": "^1.148.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-highlight-words": "^0.20.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/utils/usePostHog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function maybeInit() {

posthog?.init(process.env.NEXT_PUBLIC_POSTHOG_KEY, {
// Note that PostHog will automatically capture page views and common events
api_host: '/docs/ingest', // BEWARE: basePath "docs" is needed
api_host: '/ingest',
disable_session_recording: process.env.NODE_ENV !== 'production',
advanced_disable_toolbar_metrics: true,
opt_in_site_apps: true,
Expand Down
27 changes: 18 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8a30b7c

Please sign in to comment.