Update layout.tsx (#2619)

Describe what your pull request does. If appropriate, add GIFs or images
showing the before and after.

### Change Type

- [ ] `patch` — Bug fix
- [ ] `minor` — New feature
- [ ] `major` — Breaking change
- [ ] `dependencies` — Changes to package dependencies[^1]
- [x] `documentation` — Changes to the documentation only[^2]
- [ ] `tests` — Changes to any test code only[^2]
- [ ] `internal` — Any other changes that don't affect the published
package[^2]
- [ ] I don't know

[^1]: publishes a `patch` release, for devDependencies use `internal`
[^2]: will not publish a new version

### Test Plan

1. Add a step-by-step description of how to test your PR here.
2.

- [ ] Unit Tests
- [ ] End to end tests

### Release Notes

- Add a brief release note for your PR here.
This commit is contained in:
Steve Ruiz 2024-01-25 23:05:49 +00:00 committed by GitHub
parent 2330effea9
commit 327255bd5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 25 deletions

View file

@ -46,14 +46,13 @@ export const metadata: Metadata = {
telephone: false,
},
icons: [
{ rel: 'mask-icon', url: 'safari-pinned-tab.svg', color: THEME_COLOR },
{ rel: 'shortcut icon', url: '/favicon.svg' },
{ rel: 'icon', url: 'favicon-32x32.png', sizes: '32x32' },
{ rel: 'icon', url: 'favicon-16x16.png', sizes: '16x16' },
{ rel: 'icon', url: 'favicon-32x32.svg', sizes: '32x32' },
{ rel: 'icon', url: 'favicon-16x16.svg', sizes: '16x16' },
{ rel: 'apple-touch-icon', url: 'touch-icon-iphone.png' },
{ rel: 'apple-touch-icon', url: 'apple-touch-icon-152x152.png', sizes: '152x152' },
{ rel: 'apple-touch-icon', url: 'apple-touch-icon-180x180.png', sizes: '180x180' },
{ rel: 'apple-touch-icon', url: 'apple-touch-icon-167x167.png', sizes: '167x167' },
{ rel: 'apple-touch-icon', url: 'apple-touch-icon-152x152.svg', sizes: '152x152' },
{ rel: 'apple-touch-icon', url: 'apple-touch-icon-180x180.svg', sizes: '180x180' },
{ rel: 'apple-touch-icon', url: 'apple-touch-icon-167x167.svg', sizes: '167x167' },
],
}

View file

@ -22,6 +22,7 @@ if (process.env.NODE_ENV === 'development') {
ws.close()
}
}, [router])
return children
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -1,19 +0,0 @@
{
"headers": [
{
"source": "/assets/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public,max-age=31536000,immutable"
}
]
}
],
"rewrites": [
{
"source": "/(.*)",
"destination": "/"
}
]
}