From ef4b6cd24a1a48632dfc4c11d00279c679f96e36 Mon Sep 17 00:00:00 2001 From: Mike Jensen Date: Mon, 4 Nov 2024 15:51:55 -0700 Subject: [PATCH] fix: Remove environment logging in vite.config.ts The environment may contain sensitive secrets. For this reason we should avoid logging it to the console. --- web-app/vite.config.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/web-app/vite.config.ts b/web-app/vite.config.ts index aaccc801..012a4036 100644 --- a/web-app/vite.config.ts +++ b/web-app/vite.config.ts @@ -5,7 +5,6 @@ import react from '@vitejs/plugin-react'; const require = createRequire(import.meta.url) function proxy(): Record { - console.log(process.env); const { VITE_PROXY } = process.env; if (VITE_PROXY) { console.log(`using VITE_PROXY [${VITE_PROXY}]`);