covid-app | A small react application to track evolution | Frontend Framework library
kandi X-RAY | covid-app Summary
kandi X-RAY | covid-app Summary
A small react application to track the evolution of the spread of coronavirus in Morocco.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of covid-app
covid-app Key Features
covid-app Examples and Code Snippets
Community Discussions
Trending Discussions on covid-app
QUESTION
So I'm building a dash app and using Heroku to host. You can view my code here: My code
The site can be found here: covid19-report.herokuapp.com (thought I'd make a covid19 dashboard just to practise data analytics with plotly dash)
Basically I followed the Dash deployment documentation for heroku found here: Dash Deployment Documentation
The app runs fine locally, but I'm really not sure why its failing on Heroku.
Below is the error message. It looks like some JSON error, but again it runs fine locally. Some insight into this would help. Thank you!
...ANSWER
Answered 2020-Apr-18 at 08:20So I verified this, and I'm pretty sure that this line is the problem. Maybe not use a ip api, it doesnt work on a hosted computer. Try to use a default initial country
EDIT: you can also try this and once you get the ip of the client try this api https://ipapi.co/ip-address/json
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install covid-app
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page