This commit is contained in:
parent
593bdb17d4
commit
faf881fa0c
10 changed files with 201 additions and 8 deletions
|
|
@ -51,6 +51,15 @@ ensure('link[rel="icon"]', () => {
|
|||
return el;
|
||||
});
|
||||
|
||||
// Keeps Safari from probing /apple-touch-icon{,-precomposed}.png at the root.
|
||||
// Both files exist anyway, for the clients that probe regardless of markup.
|
||||
ensure('link[rel="apple-touch-icon"]', () => {
|
||||
const el = document.createElement("link");
|
||||
el.rel = "apple-touch-icon";
|
||||
el.href = "/apple-touch-icon.png";
|
||||
return el;
|
||||
});
|
||||
|
||||
ensure('meta[name="viewport"]', () => {
|
||||
const el = document.createElement("meta");
|
||||
el.name = "viewport";
|
||||
|
|
|
|||
Loading…
Reference in a new issue