Skip to content

Commit 85a4f6f

Browse files
authored
update headers
1 parent fd150ee commit 85a4f6f

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

vercel.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"redirects": [
3-
{ "source": "/", "destination": "https://material-e621.avoonix.com/", "statusCode": 301 }
3+
{ "source": "/", "destination": "https://material-e621.avoonix.com/", "statusCode": 301, permanent: true }
44
],
55
"rewrites": [{ "source": "/old", "destination": "/index.html" }],
66
"headers": [
@@ -21,6 +21,15 @@
2121
"value": "public, max-age=7776000"
2222
}
2323
]
24+
},
25+
{
26+
"source": "/(.*)",
27+
"headers": [
28+
{
29+
"key": "Link",
30+
"value": "<https://material-e621.avoonix.com/$1>; rel=\"canonical\""
31+
}
32+
]
2433
}
2534
]
2635
}

0 commit comments

Comments
 (0)