mediumaquamarine / impossiblebigoquiz

The impossible big o quiz
0 stars 4 forks source link

Had problems with secret file #200

Closed sethkoch closed 7 years ago

sethkoch commented 7 years ago

I didn't realize it but I had been pushing the secretvars file up all along. I change to a different secrets file and deleted the secretvars. Then in the config file I had a problem because heroku couldn't find the secretpass file, the new secret file I created, because it was not being added in git. So I used a ternary operator in the config file and that fixed the problem. Locally, I have access to secretpass, this file is not pushed to github nor heroku, and heroku does not need that file.