News for hackers. Stuff that matters.
Re:Ugly Avatar by txstc55 on Monday March 25, 2024 @03:43PM (#39820498)
I believe for avatar generations i have including this one, three of them. I thought i pushed the code already. For any code that requires a database access I don't push the code
Re:Ugly Avatar by ggorlen on Monday March 25, 2024 @06:49PM (#39822119)
Thanks, I appreciate seeing the code! For code with database access, you could use an environment variable from a .env file and gitignore that file, making it safe to share. (you're probably already aware of this practice and may have another reason not to want to push it)
Re:Ugly Avatar by txstc55 on Monday March 25, 2024 @07:12PM (#39822336)
For things working with database I mainly don’t want to expose the rpc calls or the database queries. I know people can just get it by checking dev tool but it’s one layer of labor and can filter out many people with millacious intent