Skip to content

fix : removed console.log exposing Firebase API key from firebase utils - #1953

Open
tmdeveloper007 wants to merge 1 commit into
aryandas2911:mainfrom
tmdeveloper007:#1948
Open

fix : removed console.log exposing Firebase API key from firebase utils#1953
tmdeveloper007 wants to merge 1 commit into
aryandas2911:mainfrom
tmdeveloper007:#1948

Conversation

@tmdeveloper007

Copy link
Copy Markdown

Summary of What Has Been Done

Removed the console.log statement from frontend/src/utils/firebase.js that was logging the Firebase API key value to the browser console.

Changes Made

  • frontend/src/utils/firebase.js: removed console.log("Firebase API Key:", import.meta.env.VITE_FIREBASE_API_KEY);

Impact it Made

  • Prevents sensitive Firebase configuration values from appearing in browser developer tools
  • Improves security hygiene by eliminating unnecessary logging of environment variables

Closes #1948.

Note: please assign this PR to the tmdeveloper007 account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix : remove console.log exposing Firebase API key from firebase utils

1 participant