Skip to content

Commit

Permalink
chore: add vercel json
Browse files Browse the repository at this point in the history
  • Loading branch information
rqbazan committed Jan 30, 2024
1 parent 4c017ee commit 3941252
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 24 deletions.
21 changes: 0 additions & 21 deletions app/routes/robots[.]txt.tsx

This file was deleted.

7 changes: 4 additions & 3 deletions docs/definition-of-done.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@
- Animation

- [x] Page Transitions
- [ ] Disable Animations on Reduced Motion

- Deployment

- [x] CI/CD
- [x] Cloud Provider (Vercel, Netlify, etc.)
- [ ] Redirects
- [x] CI/CD: Github Actions
- [x] Deploy Provider: Vercel
- [x] Redirects: `vercel.json`
4 changes: 4 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-Agent: *

Host: http://rcrd.space
Sitemap: http://rcrd.space/sitemap.xml
22 changes: 22 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"headers": [
{
"source": "/fonts/ibm-plex-sans-var.woff2",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/robots.txt",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=600, s-maxage=864000"
}
]
}
]
}

0 comments on commit 3941252

Please sign in to comment.