Skip to content

Commit 744d7ca

Browse files
committed
Change favicon URL to be protocol-relative
1 parent 8327bed commit 744d7ca

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎views/index.erb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<link rel="canonical" href="http://devdocs.io">
1818
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="DevDocs Search">
1919
<link rel="alternate" href="http://devdocs.io/feed" title="DevDocs" type="application/atom+xml">
20-
<link rel="icon" type="image/x-icon" href="http://cdn.devdocs.io/favicon.ico">
20+
<link rel="icon" type="image/x-icon" href="//cdn.devdocs.io/favicon.ico">
2121
<link rel="fluid-icon" href="http://cdn.devdocs.io/images/fluid-icon.png" title="DevDocs">
2222
<link rel="apple-touch-icon" sizes="72x72" href="http://cdn.devdocs.io/images/apple-icon-72.png">
2323
<link rel="apple-touch-icon" sizes="76x76" href="http://cdn.devdocs.io/images/apple-icon-76.png">

‎views/other.erb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="format-detection" content="telephone=no">
88
<meta property="og:image" content="http://cdn.devdocs.io/images/icon-128.png">
99
<title>DevDocs<%= ": #{@doc['name']} API Documentation" if doc_index_page? %></title>
10-
<link rel="icon" type="image/x-icon" href="http://cdn.devdocs.io/favicon.ico">
10+
<link rel="icon" type="image/x-icon" href="//cdn.devdocs.io/favicon.ico">
1111
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs">
1212
<link rel="stylesheet" href="<%= main_stylesheet_path %>" data-alt="<%= alternate_stylesheet_path %>">
1313
<%= javascript_tag 'application', asset_host: false %><% unless App.production? %>

0 commit comments

Comments
 (0)