Restore vercel.jsons (#2650)

This PR restores the vercel.json files in the examples/dotcom
directories.

### Change Type

- [x] `internal` — Any other changes that don't affect the published
package[^2]
This commit is contained in:
Steve Ruiz 2024-01-25 23:24:22 +00:00 committed by GitHub
parent 327255bd5a
commit 0d2fa6ae24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 39 additions and 1 deletions

View file

@ -15,7 +15,7 @@ export function Footer() {
WebkitMask: `url(/tldraw-icon.svg) center 100% / 100% no-repeat`,
}}
/>
<p>tldraw © 2023</p>
<p>tldraw © 2024</p>
</a>
<div className="footer__socials">
<a

19
apps/dotcom/vercel.json Normal file
View file

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

19
apps/examples/vercel.json Normal file
View file

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