Skip to content

Commit

Permalink
Added note about htsget url scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpatto committed Jan 13, 2022
1 parent 36b98d1 commit 9d7411b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/containers/IGV.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,11 @@ class IGV extends Component<Props, State> {
return;
}

// the htsget url scheme is actually unofficial - IGV itself needs to be passed a Https endpoint from
// the htsget url scheme is actually unofficial
// https://github.com/samtools/hts-specs/issues/581
// IGV itself needs to be passed a Https endpoint from
// which it itself will run the htsget protocol
if (url.hostname == 'localhost') {
if (url.hostname == 'localhost' || url.hostname == '127.0.0.1') {
// a quick hack for local debugging... telling it when it looks like localhost htsget chances are we want to
// use http
url.set('protocol', 'http:');
Expand Down

0 comments on commit 9d7411b

Please sign in to comment.