igvteam/igv.js

The error for URL

zhaosq2022 opened this issue · 2 comments

Hi,
When I upload genome files using a URL, it always displays "Error accessing resource". But I can open this file in the browser through this link.
Do you know what the reason is?

Thank you very much.

shiqi

You need to look in the console to see the specific error, but most likely the server is not including CORS headers. See https://github.com/igvteam/igv.js/wiki/Data-Server-Requirements

Thank you very much for your answer. As you said, that should be the reason. I am using Apache. But with my current abilities, I am unable to solve this problem. I can only upload files locally.