FaizDev72 / SkillNest-EdTech-Platform-MERNStack

https://skillnest.vercel.app
0 stars 2 forks source link

Fix for Issue #2: disabled console.log statements in production #6

Closed idk-mr4tyunjay closed 2 weeks ago

idk-mr4tyunjay commented 2 weeks ago

Pull Request for Fixing Issue #2

This PR addresses security and privacy concerns by removing all console.log statements from the codebase. These statements were primarily used for debugging during development but pose a risk of exposing sensitive information in a production environment.

Changes Made

Testing


In order to ensure proper functionality of the application, especially for distinguishing between development and production environments, it's crucial to add the NODE_ENV variable to the .env file.

Configuration

NODE_ENV=development  // or 'production' as needed
vercel[bot] commented 2 weeks ago

@idk-mr4tyunjay is attempting to deploy a commit to the Faiz Ansari's projects Team on Vercel.

A member of the Team first needs to authorize it.

idk-mr4tyunjay commented 2 weeks ago

Hi @FaizDev72 ,

Could you please add the hacktoberfest-accepted label to my PR/MR? Thank you!

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
skillnest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 2, 2024 5:07am