ryanlayer / giggle

Interval data structure
MIT License
226 stars 29 forks source link

example doesn't work #41

Open jkanche opened 5 years ago

jkanche commented 5 years ago

hello,

I was trying to run the interactive heatmap example, but says the server (or the hosted page on github) has CORS issues.

http://ryanlayer.github.io/giggle/index.html?primary_index=ec2-54-227-176-15.compute-1.amazonaws.com/rme&ucsc_index=ec2-54-227-176-15.compute-1.amazonaws.com/ucsc

Edit1: tried to download the repo locally and run the example, but still has issues.

ryanlayer commented 5 years ago

Can you try this one?

http://ryanlayer.github.io/giggle/index.html?primary_index=stix.colorado.edu/rme&ucsc_index=stix.colorado.edu/ucsc

On Fri, Mar 8, 2019 at 1:37 PM Jayaram Kancherla notifications@github.com wrote:

hello,

I was trying to run the interactive heatmap example, but says the server has CORS issues.

http://ryanlayer.github.io/giggle/index.html?primary_index=ec2-54-227-176-15.compute-1.amazonaws.com/rme&ucsc_index=ec2-54-227-176-15.compute-1.amazonaws.com/ucsc

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ryanlayer/giggle/issues/41, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlDUaUhKNdJBdCT4A6fkTvG6w1Mz-cFks5vUsofgaJpZM4bmFrA .

jkanche commented 5 years ago

I still have the cors issue, here's the screenshot from my devtools if it helps

https://imgur.com/lWpdp2Q

Thank you for helping me with this!

ryanlayer commented 5 years ago

I just checked and it appears the correct headers are there.

Can you check to see what the response header looks like on your end?

In your chrome devleopClick on "Network" (top) then index.html (left) and check the list of response headers

https://imgur.com/a/2Cuf1pE

On Mon, Mar 11, 2019 at 7:21 AM Jayaram Kancherla notifications@github.com wrote:

I still have the cors issue, here's the screenshot from my devtools if it helps

https://imgur.com/lWpdp2Q

Thank you for helping me with this!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ryanlayer/giggle/issues/41#issuecomment-471535396, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlDUfn5JjoVLThNqgjtErjz69O-sYu5ks5vVlhFgaJpZM4bmFrA .

jkanche commented 5 years ago

awesome thank you! it works now (clearing browser cache helped me)