From 0b47d9d618ee28327c7040363253db620669ad20 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Sat, 31 Jan 2026 15:15:45 -0600 Subject: [PATCH] Remove leading v from Node.js debug version --- src/admin/insights/AdminAppInsightsClient.tsx | 6 +++--- src/app/config.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/admin/insights/AdminAppInsightsClient.tsx b/src/admin/insights/AdminAppInsightsClient.tsx index c50d6afc..ad748cfb 100644 --- a/src/admin/insights/AdminAppInsightsClient.tsx +++ b/src/admin/insights/AdminAppInsightsClient.tsx @@ -137,7 +137,7 @@ export default function AdminAppInsightsClient({ codeMeta?: Awaited> nextVersion: string reactVersion: string - nodeVersion: string + nodeVersion?: string insights: ReturnType usedDeprecatedEnvVars: typeof USED_DEPRECATED_ENV_VARS photoStats: PhotoStats @@ -306,12 +306,12 @@ export default function AdminAppInsightsClient({ } /> - } content={ Node.js {nodeVersion} } - /> + />} } diff --git a/src/app/config.ts b/src/app/config.ts index 8384a58c..a48860da 100644 --- a/src/app/config.ts +++ b/src/app/config.ts @@ -530,7 +530,7 @@ export const APP_CONFIGURATION = { // Misc nextVersion: dependencies.next, reactVersion: dependencies.react, - nodeVersion: process.version, + nodeVersion: (process.version || '').match(/[0-9.]+$/)?.[0], baseUrl: BASE_URL, baseUrlShare: BASE_URL_SHARE, commitSha: VERCEL_GIT_COMMIT_SHA_SHORT,