1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 08:45:26 -04:00

fix favicon-*.png rewrite

This commit is contained in:
Jake Jarvis 2021-06-04 11:12:14 -04:00
parent 82c42f8322
commit 64f2ffaeb1
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
2 changed files with 4 additions and 4 deletions

6
.gitignore vendored
View File

@ -11,9 +11,6 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
# local Vercel config
.vercel/
# Lighthouse CI
.lighthouseci/
@ -29,3 +26,6 @@ yarn-error.log*
.Trashes
*.icloud
.nosync
# local Vercel config
.vercel

View File

@ -3,7 +3,7 @@
"trailingSlash": true,
"rewrites": [
{ "source": "/favicon.ico", "destination": "/img/favicon.ico" },
{ "source": "/favicon-(.*)", "destination": "/img/favicon-$1xxxxxxxx" },
{ "source": "/favicon-(.*).png", "destination": "/img/favicon-$1.png" },
{ "source": "/apple-touch-icon.png", "destination": "/img/apple-touch-icon.png" },
{ "source": "/apple-touch-icon-precomposed.png", "destination": "/img/apple-touch-icon.png" },
{ "source": "/safari-pinned-tab.svg", "destination": "/img/safari-pinned-tab.svg" }