Skip to content

Commit

Permalink
fix: Remove environment logging in vite.config.ts
Browse files Browse the repository at this point in the history
The environment may contain sensitive secrets.  For this reason we should avoid logging it to the console.
  • Loading branch information
jentfoo authored Nov 4, 2024
1 parent 5add5aa commit ef4b6cd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion web-app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import react from '@vitejs/plugin-react';
const require = createRequire(import.meta.url)

function proxy(): Record<string, string> {
console.log(process.env);
const { VITE_PROXY } = process.env;
if (VITE_PROXY) {
console.log(`using VITE_PROXY [${VITE_PROXY}]`);
Expand Down

0 comments on commit ef4b6cd

Please sign in to comment.