I have built a single-page weather app with React and Node.js but can't seem to get it to deploy to Heroku. So far, I have:
- Created a new app on Heroku called weather-app-react-node
- Logged into Heroku on the CLI
- Run the command 'heroku git:remote -a weather-app-react-node' in my terminal
- Added a Procfile with 'web: npm start' in it
- Ran 'git add .', 'git commit -m "Pushed to heroku"', 'git push heroku master'
My terminal tells me it is deployed and waiting but when I click on the link, I get this error message:
SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
I've tried to google it but can't seem to find anything relevant to my situation. Anyone know how to fix it?
heroku-site: https://weather-app-react-node.herokuapp.com/
github: https://github.com/caseycling/weather-app