Skip to content

Commit 8dcef52

Browse files
committed
changes
1 parent 2d40be7 commit 8dcef52

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

frontend/next.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const nextConfig = {
2222
localeDetection: false,
2323
},
2424
trailingSlash: false,
25+
skipTrailingSlashRedirect: true,
2526
cacheHandler:
2627
process.env.VERCEL_ENV === "preview"
2728
? undefined

frontend/src/pages/_app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const MyApp = (props) => {
3636
useEffect(() => {
3737
try {
3838
posthog.init(process.env.POSTHOG_KEY, {
39-
api_host: `${window.location.origin}/ingest`,
39+
api_host: "/ingest",
4040
ui_host: "https://eu.posthog.com",
4141
person_profiles: "identified_only",
4242
api_transport: "fetch",

0 commit comments

Comments
 (0)