monarch-initiative / phenogrid

The phenogrid widget
13 stars 14 forks source link

Cross origin request blocked error (CORS) #293

Closed seoanezonjic closed 1 year ago

seoanezonjic commented 1 year ago

Hi @falquaddoomi, phenogrid authors I'm using phenogrid js in my own server makin requests to monarch server . The problem is that browser has cross site request blocked and phenogrid cannot make the connection (Cross origin request blocked error (CORS). Do you know any workaround to this issue? Thank you in advance Pedro Seoane

seoanezonjic commented 1 year ago

The problem was that I was using a legacy URL instead the BioLink api. Please, update the readme with the correct monarch api URL and the library works perfectly. In fact, the index.html example contains the correct URL. Thank you Pedro Seoane