Skip to content

Commit

Permalink
feat: support https on the exported heatmap (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
amnona committed Jul 27, 2021
1 parent 86035e3 commit 0c3595b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions calour/export_html_template.html
Expand Up @@ -472,7 +472,7 @@
$('#sequence').html(cid);
// Get dbBact annotations for selection
$.ajax({
url: 'http://api.dbbact.org/sequences/get_string_annotations',
url: 'https://api.dbbact.org/sequences/get_string_annotations',
type: 'POST',
data: JSON.stringify({'sequence': cid}),
dataType: 'json',
Expand All @@ -483,11 +483,11 @@
}
else {
var atext = '';
var clink = 'http://dbbact.org/sequence_annotations/' + cid;
var clink = 'https://dbbact.org/sequence_annotations/' + cid;
var ctext = '<p><a href="' + clink + '" target="_blank">dbBact Summary</a></p>';
atext += ctext;
for (i = 0; i < data.annotations.length; i++) {
clink = 'http://dbbact.org/annotation_info/' + data.annotations[i].annotationid.toString();
clink = 'https://dbbact.org/annotation_info/' + data.annotations[i].annotationid.toString();
ctext = '<a href="' + clink + '" target="_blank">' + data.annotations[i].annotation_string + '</a><br>';
atext += ctext;
}
Expand Down

0 comments on commit 0c3595b

Please sign in to comment.