Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
fix: remove posthog
Brad Barbinf32130202c21
diff --git a/apps/academy/app/entry.client.tsx b/apps/academy/app/entry.client.tsxindex 9fa31f87fb..8277c1006f 100644--- a/apps/academy/app/entry.client.tsx+++ b/apps/academy/app/entry.client.tsx@@ -8,25 +8,25 @@ import { Fragment, startTransition, useEffect } from "react";import { hydrateRoot } from "react-dom/client";import { HydratedRouter } from "react-router/dom";-function PosthogInit() {- useEffect(() => {- if (VERCEL_URL && !VERCEL_URL?.includes("localhost")) {- posthog.init(POSTHOG_PROJECT_PUBLIC_KEY, {- api_host: POSTHOG_API_HOST,- autocapture: false,- capture_pageview: false- });- }- }, []);- return null;-}+// function PosthogInit() {+// useEffect(() => {+// if (VERCEL_URL && !VERCEL_URL?.includes("localhost")) {+// posthog.init(POSTHOG_PROJECT_PUBLIC_KEY, {+// api_host: POSTHOG_API_HOST,+// autocapture: false,+// capture_pageview: false+// });+// }+// }, []);+// return null;+// }startTransition(() => {hydrateRoot(document,<Fragment><HydratedRouter />- <PosthogInit />+ {/* <PosthogInit /> */}</Fragment>);});diff --git a/apps/erp/app/entry.client.tsx b/apps/erp/app/entry.client.tsxindex 385d0bdfc7..482046a795 100644--- a/apps/erp/app/entry.client.tsx+++ b/apps/erp/app/entry.client.tsx@@ -4,23 +4,23 @@ import { Fragment, startTransition, useEffect } from "react";import { hydrateRoot } from "react-dom/client";import { HydratedRouter } from "react-router/dom";-function PosthogInit() {- useEffect(() => {- if (!window?.location.href.includes("localhost")) {- posthog.init(POSTHOG_PROJECT_PUBLIC_KEY, {- api_host: POSTHOG_API_HOST- });- }- }, []);- return null;-}+// function PosthogInit() {+// useEffect(() => {+// if (!window?.location.href.includes("localhost")) {+// posthog.init(POSTHOG_PROJECT_PUBLIC_KEY, {+// api_host: POSTHOG_API_HOST+// });+// }+// }, []);+// return null;+// }startTransition(() => {hydrateRoot(document,<Fragment><HydratedRouter />- <PosthogInit />+ {/* <PosthogInit /> */}</Fragment>);});diff --git a/apps/mes/app/entry.client.tsx b/apps/mes/app/entry.client.tsxindex 385d0bdfc7..482046a795 100644--- a/apps/mes/app/entry.client.tsx+++ b/apps/mes/app/entry.client.tsx@@ -4,23 +4,23 @@ import { Fragment, startTransition, useEffect } from "react";import { hydrateRoot } from "react-dom/client";import { HydratedRouter } from "react-router/dom";-function PosthogInit() {- useEffect(() => {- if (!window?.location.href.includes("localhost")) {- posthog.init(POSTHOG_PROJECT_PUBLIC_KEY, {- api_host: POSTHOG_API_HOST- });- }- }, []);- return null;-}+// function PosthogInit() {+// useEffect(() => {+// if (!window?.location.href.includes("localhost")) {+// posthog.init(POSTHOG_PROJECT_PUBLIC_KEY, {+// api_host: POSTHOG_API_HOST+// });+// }+// }, []);+// return null;+// }startTransition(() => {hydrateRoot(document,<Fragment><HydratedRouter />- <PosthogInit />+ {/* <PosthogInit /> */}</Fragment>);});