Skip to content

Commit 8ddc08c

Browse files
committed
Serve web app manifest from canonical origin
1 parent 8225e1d commit 8ddc08c

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
<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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
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 %>">

0 commit comments

Comments
 (0)