feat(web): llms.txt, convex live stats, switch to vercel and improved ui (#460)

This commit is contained in:
Aman Varshney
2025-08-03 02:42:15 +05:30
committed by GitHub
parent 004cc01a0c
commit fef7f6b5e2
38 changed files with 2352 additions and 2676 deletions

View File

@@ -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",
});
}