Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,10 @@ const config = {
"posthog-docusaurus",
{
apiKey: process.env.POSTHOG_API_KEY,
appUrl: process.env.POSTHOG_APP_URL || 'https://us.i.posthog.com',
appUrl: 'https://compose.diamonds/54Q17895d65',
uiHost: 'https://us.posthog.com',
enableInDevelopment: false,
capturePageLeave: true,
},
]
],
Expand Down
16 changes: 15 additions & 1 deletion website/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,18 @@

[build.environment]
# Disable git submodules - they are not needed for the website build
GIT_SUBMODULES = "false"
GIT_SUBMODULES = "false"

[[redirects]]
from = "/54Q17895d65/static/*"
to = "https://us-assets.i.posthog.com/static/:splat"
host = "us-assets.i.posthog.com"
status = 200
force = true

[[redirects]]
from = "/54Q17895d65/*"
to = "https://us.i.posthog.com/:splat"
host = "us.i.posthog.com"
status = 200
force = true