Skip to content

Commit

Permalink
Fix mixed content warnings by using https:// for embedded resources
Browse files Browse the repository at this point in the history
Browsers warn when pages served via https:// (like nextflu) include
resources served over http://, as noted by Netlify's deploy process¹,
which occasionally results in warning emails².

¹ e.g. <https://app.netlify.com/sites/nextflu/deploys/63bc65f3ec7cb3069d9d38ea>
² e.g. <https://support.nextstrain.org/agent/nextstrain/nextstrain/tickets/details/668036000003352015>
  • Loading branch information
tsibley committed Jan 10, 2023
1 parent 2915be8 commit bf6222c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion auspice/help/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<div class="col-md-9">
<a name="tutorial">
<div class="embed-responsive embed-responsive-16by9">
<iframe allowfullscreen src="http://www.youtube.com/embed/_MZk1DDNjMA?autoplay=0">
<iframe allowfullscreen src="https://www.youtube.com/embed/_MZk1DDNjMA?autoplay=0">
</iframe>
</div>
</a>
Expand Down
2 changes: 1 addition & 1 deletion auspice/methods/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,6 @@

<!-- MathJax support -->
<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<!-- MathJax config -->
<script src="/js/mathjax.config.js"></script>
2 changes: 1 addition & 1 deletion auspice/reports/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@

<!-- MathJax support -->
<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<!-- MathJax config -->
<script src="/js/mathjax.config.js"></script>

0 comments on commit bf6222c

Please sign in to comment.