History

Change favicon URL to be protocol-relative

Thibaut committed 11 years ago

Commit 744d7ca1 parent 8327bed2 files · +2 −2Browse files

Unified · Split

2 files
  1. views/index.erb +1 −1
  2. views/other.erb +1 −1
views/index.erb+1−1
@@ -17,7 +17,7 @@ · 16 unmodified lines
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+1−1
@@ -7,7 +7,7 @@ · 6 unmodified lines
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? %>