Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editorial: add note on file extension
Browse files Browse the repository at this point in the history
christianliebel committed Sep 20, 2019
1 parent ad4e579 commit 4a92453
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -257,6 +257,15 @@ <h3>
&lt;link rel="icon" sizes="16x16 32x32 48x48" href="lo_def.ico"&gt;
&lt;link rel="icon" sizes="512x512" href="hi_def.png"&gt;
</pre>
<div class="note" title="manifest.webmanifest or manifest.json?">
The official file extension for the manifest is
<code>.webmanifest</code>. Some web servers recognize this extension
and transfer the file using the official <a>media type for a
manifest</a> (<code>application/manifest+json</code>). Developers can
also choose a different extension (e.g. <code>.json</code>) or none
at all (e.g. <code>/api/GetManifest</code>), but must make sure
that the manifest is transferred using the official media type.
</div>
</section>
</section>
<section>

0 comments on commit 4a92453

Please sign in to comment.