From 5fea081614a7d5efc1d93ab8b79dfd0bb79e88e3 Mon Sep 17 00:00:00 2001 From: Paul Pillot Date: Sat, 27 Apr 2024 19:26:59 -0400 Subject: [PATCH] ebi.ac.uk does not support requests made on http:// protocol --- src/datasource/alphafold-datasource.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/datasource/alphafold-datasource.ts b/src/datasource/alphafold-datasource.ts index 6de194c9..27dd537d 100644 --- a/src/datasource/alphafold-datasource.ts +++ b/src/datasource/alphafold-datasource.ts @@ -5,7 +5,6 @@ */ import { Log, DatasourceRegistry } from '../globals' -import { getProtocol } from '../utils' import { getFileInfo } from '../loader/loader-utils' import Datasource from './datasource' @@ -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) {