News for hackers. Stuff that matters.
Re:iViewed your API keys by dylan604 on Thursday April 14, 2022 @11:18AM (#31028086)
My favorite is just having the console open while visiting the web. It is amazing the amount of information devs "forget" to remove from sending to the console in production. A lot of console vomit is from JS frameworks. I don't know if there's a switch that can tell them to shut up in production or not, but it's one thing I look out for on anything I work on.
Re:iViewed your API keys by baobabKoodaa on Thursday April 14, 2022 @02:47PM (#31031479)
const log = function(thingToLog) { if (DEV_ENVIRONMENT) console.log(thingToLog) }