We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d40be7 commit 8dcef52Copy full SHA for 8dcef52
2 files changed
frontend/next.config.js
@@ -22,6 +22,7 @@ const nextConfig = {
22
localeDetection: false,
23
},
24
trailingSlash: false,
25
+ skipTrailingSlashRedirect: true,
26
cacheHandler:
27
process.env.VERCEL_ENV === "preview"
28
? undefined
frontend/src/pages/_app.tsx
@@ -36,7 +36,7 @@ const MyApp = (props) => {
36
useEffect(() => {
37
try {
38
posthog.init(process.env.POSTHOG_KEY, {
39
- api_host: `${window.location.origin}/ingest`,
+ api_host: "/ingest",
40
ui_host: "https://eu.posthog.com",
41
person_profiles: "identified_only",
42
api_transport: "fetch",
0 commit comments