chore: redirects and headers
This commit is contained in:
parent
cbf9a40667
commit
cb9ac15eeb
3 changed files with 8 additions and 1 deletions
|
@ -97,6 +97,8 @@ https://cdme.netlify.app https://coryd.dev 301!
|
|||
|
||||
# media
|
||||
/media/* https://f001.backblazeb2.com/file/coryd-dev-images/:splat 200!
|
||||
/media/square/* /.netlify/images?url=/:splat&fit=cover&w=240&h=240&fm=webp&q=75 200!
|
||||
/media/vertical/* /.netlify/images?url=/:splat&fit=cover&w=200&h=307&fm=webp&q=75 200!
|
||||
|
||||
# analytics
|
||||
/23af0256fe76a.js http://static.getclicky.com/js?in=/2842c5ddc46e5 200!
|
||||
|
|
|
@ -27,6 +27,11 @@ package = "/plugins/fetch-scrobbles"
|
|||
###
|
||||
# HEADERS
|
||||
###
|
||||
[[headers]]
|
||||
for = "/media/*"
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800, must-revalidate"
|
||||
|
||||
[[headers]]
|
||||
for = "/feeds/posts"
|
||||
[headers.values]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "13.4.3",
|
||||
"version": "13.4.4",
|
||||
"description": "The source for my personal site. Built using 11ty.",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
|
Reference in a new issue