Skip to content

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.

fix: try older novu websocket endpoint for eu

Brad Barbin1f7a048562b5
diff --git a/apps/erp/app/hooks/useNotifications.tsx b/apps/erp/app/hooks/useNotifications.tsx
index 8755ed70a9..5a14ee7562 100644
--- a/apps/erp/app/hooks/useNotifications.tsx
+++ b/apps/erp/app/hooks/useNotifications.tsx
@@ -133,7 +133,7 @@ export function useNotifications({
const headlessService = new HeadlessService({
applicationIdentifier: NOVU_APPLICATION_ID!,
backendUrl: isEu ? "https://eu.api.novu.co" : "https://api.novu.co",
- socketUrl: isEu ? "wss://eu.socket.novu.co" : undefined, // ← base only, no /socket.io
+ socketUrl: isEu ? "wss://eu.ws.novu.co" : undefined, // ← base only, no /socket.io
subscriberId
});