someshkar/covid19india-cluster

CORS error for API call "covid19-in/unofficial/covid19india.org/patientdb"

manik96m opened this issue · 0 comments

Describe the bug
The API call "covid19-in/unofficial/covid19india.org/patientdb" made on date change from date picker is failing and giving CORS error.

To Reproduce

  1. Go to 'https://cluster.covid19india.org/'
  2. Click on 'Date picker'
  3. Select any date.
  4. The CORS error can be seen in console and API call for 'covid19-in/unofficial/covid19india.org/patientdb' fails.

Expected behavior
The API should successfully return data.

Screenshots
Screenshot 2020-04-12 at 11 47 27 PM
Screenshot 2020-04-12 at 11 47 39 PM

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: chrome
  • Version: 80.0.3987.149