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
1717 <meta name="robots" content="noodp">
1818 <title>DevDocs API Documentation</title>
1919 <link rel="canonical" href="<%= canonical_origin %>">
20− <link rel="manifest" href="<%= App.cdn_origin %>/manifest.json">
20+ <link rel="manifest" href="/manifest.json">
2121 <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="DevDocs Search">
2222 <link rel="alternate" href="<%= canonical_origin %>/feed" title="DevDocs" type="application/atom+xml">
2323 <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
88 <meta property="og:image" content="<%= App.cdn_origin %>/images/icon-128.png">
99 <title>DevDocs<%= " &mdash; #{@doc['full_name']} documentation (fast, offline)" if doc_index_page? %></title>
1010 <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">
1212 <link rel="icon" type="image/x-icon" href="<%= App.cdn_origin %>/favicon.ico">
1313 <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs">
1414 <link rel="stylesheet" href="<%= main_stylesheet_path %>" data-alt="<%= alternate_stylesheet_path %>">