Skip to content

Commit

Permalink
ebi.ac.uk does not support requests made on http:// protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
papillot committed Apr 27, 2024
1 parent 483c88f commit 5fea081
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/datasource/alphafold-datasource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*/

import { Log, DatasourceRegistry } from '../globals'
import { getProtocol } from '../utils'
import { getFileInfo } from '../loader/loader-utils'
import Datasource from './datasource'

Expand All @@ -23,7 +22,7 @@ class AlphafoldDatasource extends Datasource {
Log.warn('unsupported AF ext', info.ext)
url = baseUrl + uniprotid + suffixURL
}
return getProtocol() + url
return 'https://' + url
}

getExt (src: string) {
Expand Down

0 comments on commit 5fea081

Please sign in to comment.