This code is an extended version of David Katz's code: Check out his article https://medium.com/@dtkatz/3-ways-to-fix-the-cors-error-and-how-access-control-allow-origin-works-d97d55946d9
Original API: https://kawalcorona.com/api/
https://jdk-covid-proxy.herokuapp.com/[Routes]
- [/global] -> Global Case
- [/global-sembuh] -> Global Recovered Case
- [/global-meninggal] -> Global Fatality
- [/global-positive] -> Global Positive Case
- [/nasional] -> Indonesia Case
- [/provinsi] -> Indonesia Case / Province