OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
start: stop printing the process env on every SSR render
Carl-Gerhard Lindesvärd7b254dc9a071
diff --git a/apps/start/src/integrations/tanstack-query/root-provider.tsx b/apps/start/src/integrations/tanstack-query/root-provider.tsxindex be960ea7d..79473c877 100644--- a/apps/start/src/integrations/tanstack-query/root-provider.tsx+++ b/apps/start/src/integrations/tanstack-query/root-provider.tsx@@ -44,8 +44,6 @@ function handleUnauthorized(error: unknown) {// server-side only. The client always uses the public `apiUrl` it was given.const getSsrApiUrlOverride = createIsomorphicFn().server(() => {- console.log('ENVS', process.env);- console.log('API_URL_SSR', process.env.API_URL_SSR);return process.env.API_URL_SSR || undefined;}).client(() => undefined);@@ -71,7 +69,6 @@ export const getIsomorphicHeaders = createIsomorphicFn()// Create a function that returns a tRPC client with optional cookiesexport function createTRPCClientWithHeaders(apiUrl: string) {const baseUrl = getSsrApiUrlOverride() || apiUrl;- console.log('baseUrl', baseUrl);return createTRPCClient<AppRouter>({links: [httpLink({diff --git a/apps/start/src/routes/_app.$organizationId.$projectId.events._tabs.tsx b/apps/start/src/routes/_app.$organizationId.$projectId.events._tabs.tsxindex 3217748f0..c44783716 100644--- a/apps/start/src/routes/_app.$organizationId.$projectId.events._tabs.tsx+++ b/apps/start/src/routes/_app.$organizationId.$projectId.events._tabs.tsx@@ -31,7 +31,6 @@ function Component() {]);const handleTabChange = (tabId: string) => {- console.log('tabId', tabId, tabs[0].id === tabId);router.navigate({from: Route.fullPath,to: tabId,diff --git a/apps/start/src/routes/_app.$organizationId.$projectId.notifications._tabs.tsx b/apps/start/src/routes/_app.$organizationId.$projectId.notifications._tabs.tsxindex 09c23cdae..5f4a92659 100644--- a/apps/start/src/routes/_app.$organizationId.$projectId.notifications._tabs.tsx+++ b/apps/start/src/routes/_app.$organizationId.$projectId.notifications._tabs.tsx@@ -28,7 +28,6 @@ function Component() {]);const handleTabChange = (tabId: string) => {- console.log('tabId', tabId, tabs[0].id === tabId);router.navigate({from: Route.fullPath,to: tabId,diff --git a/apps/start/src/routes/_app.$organizationId.$projectId.profiles._tabs.tsx b/apps/start/src/routes/_app.$organizationId.$projectId.profiles._tabs.tsxindex 2850c03d9..6c4e3b6ab 100644--- a/apps/start/src/routes/_app.$organizationId.$projectId.profiles._tabs.tsx+++ b/apps/start/src/routes/_app.$organizationId.$projectId.profiles._tabs.tsx@@ -29,7 +29,6 @@ function Component() {]);const handleTabChange = (tabId: string) => {- console.log('tabId', tabId, tabs[0].id === tabId);router.navigate({from: Route.fullPath,to: tabId,diff --git a/biome.json b/biome.jsonindex 1d5abe6df..37533b25b 100644--- a/biome.json+++ b/biome.json@@ -107,6 +107,19 @@"ultracite/biome/remix"],"overrides": [+ {+ "includes": ["apps/start/src/**"],+ "linter": {+ "rules": {+ "suspicious": {+ "noConsole": {+ "level": "error",+ "options": { "allow": ["error", "warn"] }+ }+ }+ }+ }+ },{"includes": ["packages/core/src/clients/datacenter-asns.ts"],"linter": {