History

Serve web app manifest from canonical origin

Thibaut Courouble committed 9 years ago

Commit 8ddc08c1 parent 8225e1d2 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
17 <meta name="robots" content="noodp">17 <meta name="robots" content="noodp">
18 <title>DevDocs API Documentation</title>18 <title>DevDocs API Documentation</title>
19 <link rel="canonical" href="<%= canonical_origin %>">19 <link rel="canonical" href="<%= canonical_origin %>">
20 <link rel="manifest" href="<%= App.cdn_origin %>/manifest.json">20 <link rel="manifest" href="/manifest.json">
21 <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="DevDocs Search">21 <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="DevDocs Search">
22 <link rel="alternate" href="<%= canonical_origin %>/feed" title="DevDocs" type="application/atom+xml">22 <link rel="alternate" href="<%= canonical_origin %>/feed" title="DevDocs" type="application/atom+xml">
23 <link rel="icon" type="image/x-icon" href="<%= App.cdn_origin %>/favicon.ico">23 <link rel="icon" type="image/x-icon" href="<%= App.cdn_origin %>/favicon.ico">
views/other.erb+1−1
@@ -8,7 +8,7 @@ · 7 unmodified lines
8 <meta property="og:image" content="<%= App.cdn_origin %>/images/icon-128.png">8 <meta property="og:image" content="<%= App.cdn_origin %>/images/icon-128.png">
9 <title>DevDocs<%= " &mdash; #{@doc['full_name']} documentation (fast, offline)" if doc_index_page? %></title>9 <title>DevDocs<%= " &mdash; #{@doc['full_name']} documentation (fast, offline)" if doc_index_page? %></title>
10 <link rel="canonical" href="<%= canonical_origin %><%= request.path %>">10 <link rel="canonical" href="<%= canonical_origin %><%= request.path %>">
11 <link rel="manifest" href="<%= App.cdn_origin %>/manifest.json">11 <link rel="manifest" href="/manifest.json">
12 <link rel="icon" type="image/x-icon" href="<%= App.cdn_origin %>/favicon.ico">12 <link rel="icon" type="image/x-icon" href="<%= App.cdn_origin %>/favicon.ico">
13 <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs">13 <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs">
14 <link rel="stylesheet" href="<%= main_stylesheet_path %>" data-alt="<%= alternate_stylesheet_path %>">14 <link rel="stylesheet" href="<%= main_stylesheet_path %>" data-alt="<%= alternate_stylesheet_path %>">