OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
kill batching link for now
Carl-Gerhard Lindesvärd88a69cb01672
diff --git a/apps/dashboard/src/app/providers.tsx b/apps/dashboard/src/app/providers.tsxindex 84ed1d358..0f44a45a6 100644--- a/apps/dashboard/src/app/providers.tsx+++ b/apps/dashboard/src/app/providers.tsx@@ -8,7 +8,7 @@ import makeStore from '@/redux';import { api } from '@/trpc/client';import { ClerkProvider, useAuth } from '@clerk/nextjs';import { QueryClient, QueryClientProvider } from '@tanstack/react-query';-import { unstable_httpBatchStreamLink } from '@trpc/client';+import { httpLink } from '@trpc/client';import { ThemeProvider } from 'next-themes';import { Provider as ReduxProvider } from 'react-redux';import { Toaster } from 'sonner';@@ -34,8 +34,7 @@ function AllProviders({ children }: { children: React.ReactNode }) {api.createClient({transformer: superjson,links: [- unstable_httpBatchStreamLink({- maxURLLength: 4000,+ httpLink({url: `${process.env.NEXT_PUBLIC_API_URL}/trpc`,async headers() {const token = await getToken();