Fix settings for production configuration on heroku