KyleAMathews / react-gravatar

React component for rendering a gravatar profile image
http://kyleamathews.github.io/react-gravatar/
MIT License
279 stars 33 forks source link

Works when I run on localhost, but not on Heroku #154

Open drewwebs opened 4 years ago

drewwebs commented 4 years ago

As the title says, this package works great locally. When I deploy to Heroku and log in using the same email address, I get a default image.

Update: Calculating the MD5 hash using Spark-MD5 and passing that to the component instead of the email seems to work.

getaaron commented 4 years ago

hmm, I can’t see any reason why the hash calculation would be different on heroku