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:
parent
327255bd5a
commit
0d2fa6ae24
3 changed files with 39 additions and 1 deletions
|
@ -15,7 +15,7 @@ export function Footer() {
|
||||||
WebkitMask: `url(/tldraw-icon.svg) center 100% / 100% no-repeat`,
|
WebkitMask: `url(/tldraw-icon.svg) center 100% / 100% no-repeat`,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<p>tldraw © 2023</p>
|
<p>tldraw © 2024</p>
|
||||||
</a>
|
</a>
|
||||||
<div className="footer__socials">
|
<div className="footer__socials">
|
||||||
<a
|
<a
|
||||||
|
|
19
apps/dotcom/vercel.json
Normal file
19
apps/dotcom/vercel.json
Normal 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
19
apps/examples/vercel.json
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"source": "/assets/(.*)",
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"key": "Cache-Control",
|
||||||
|
"value": "public,max-age=31536000,immutable"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rewrites": [
|
||||||
|
{
|
||||||
|
"source": "/(.*)",
|
||||||
|
"destination": "/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in a new issue