mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
feat(web): llms.txt, convex live stats, switch to vercel and improved ui (#460)
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import posthog from "posthog-js";
|
||||
|
||||
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY || "", {
|
||||
api_host: "/ingest",
|
||||
ui_host: "https://us.posthog.com",
|
||||
defaults: "2025-05-24",
|
||||
capture_exceptions: true, // This enables capturing exceptions using Error Tracking
|
||||
debug: process.env.NODE_ENV === "development",
|
||||
});
|
||||
if (process.env.NODE_ENV !== "development") {
|
||||
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY || "", {
|
||||
api_host: "/ingest",
|
||||
ui_host: "https://us.posthog.com",
|
||||
defaults: "2025-05-24",
|
||||
capture_exceptions: true, // This enables capturing exceptions using Error Tracking
|
||||
debug: process.env.NODE_ENV !== "production",
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user