Skip to content

Commit

Permalink
fix url for posthog module
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantgillespie committed Jul 25, 2024
1 parent d4820be commit bd3d72b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/posthog/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default defineNuxtModule<ModuleOptions>({
},
defaults: {
publicKey: process.env.POSTHOG_API_KEY as string,
host: process.env.POSTHOG_API_HOST as string,
host: process.env.DEPLOY_PRIME_URL ?? (process.env.POSTHOG_API_HOST as string),
capturePageViews: true,
disabled: false,
},
Expand Down

0 comments on commit bd3d72b

Please sign in to comment.