added missing icons
All checks were successful
Deploy / build-deploy (push) Successful in 3m0s

This commit is contained in:
Jorijn van der Graaf 2026-08-18 21:21:41 +02:00
commit faf881fa0c
10 changed files with 201 additions and 8 deletions

View file

@ -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";