
Originally posted on www.florin-pop.com
Today is Valentines Day! 😍
How nice would it be if you sent a Romantic Message every hour to your love...
For further actions, you may consider blocking this person and/or reporting abuse
This made me remember of a story I read somewhere sometime (yeah, quite vague reference) where this certain dude programmed a cronjob to send poems to her girlfriend each X amount of time... Mind you, this was done when back we used floppy drives... And he developed this on his job's infrastructure...
However, he had a bug. Something went terribly wrong, and the production env. Went down HARD..
It's amazing we now have enough resources to make this on our own. We can make so much more today...
This is both my first nodeJS and API project.
I got this message from Twilio:
We have detected that your Twilio API credentials have been compromised. It is urgent that you take immediate action to secure your account as this poses a security risk and could lead to unauthorized activity or excessive charges.
is there a different way to hide this besides creating a .env file?
I am on my work computer right now, and I don't want to mess with the environment here.
Thanks
Did you push the project to GitHub, including the config.js file? That would have caused the Twilio and GitHub monitoring systems to spot it and send you that email.
Hopefully you have already logged in and updated your auth token.
If you have hidden credentials like this before using
.env
files then the secret really is that.env
files are likely to appear in your.gitignore
file and never get committed to your repo. You can addconfig.js
to the project's.gitignore
file for this project, or, better for the future, update this project to use environment variables and dotenv (or similar).Let me know if I can help any further.
I'm not sure why you got that error... I didn't 🤔
Great post! I hope that your loved one appreciated all the messages!
They might not love you back after the 10th message.
True... It might be the next level of love. 😂