-
-
Notifications
You must be signed in to change notification settings - Fork 682
/
vercel.json
52 lines (52 loc) · 2.19 KB
/
vercel.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"trailingSlash": true,
"redirects": [
{ "source": "/mastodon", "destination": "https://fosstodon.org/@eleventy", "statusCode": 301 },
{ "source": "/youtube", "destination": "https://www.youtube.com/c/EleventyVideo", "statusCode": 301 },
{ "source": "/twitter", "destination": "https://twitter.com/eleven_ty", "statusCode": 301 },
{ "source": "/follow/", "destination": "/firehose/firehose.rss", "statusCode": 301 },
{ "source": "/follow/follow.rss", "destination": "/firehose/firehose.rss", "statusCode": 301 },
{ "source": "/docs/getting-started/", "destination": "/docs/", "statusCode": 301 },
{ "source": "/docs/get-started/", "destination": "/docs/", "statusCode": 301 },
{ "source": "/activity/", "destination": "/firehose/", "statusCode": 301 },
{ "source": "/docs/sites/", "destination": "/speedlify/", "statusCode": 301 },
{ "source": "/docs/performance-leaderboard/", "destination": "/speedlify/", "statusCode": 301 },
{ "source": "/docs/accessibility-leaderboard/", "destination": "/speedlify/", "statusCode": 301 },
{ "source": "/leaderboard/(.*)", "destination": "/speedlify/", "statusCode": 301 },
{ "source": "/news/:path*", "destination": "/blog/:path*", "statusCode": 301 },
{ "source": "/docs/how-to-support/", "destination": "/docs/community/", "statusCode": 301 },
{ "source": "/docs/plugins/cache/", "destination": "/docs/plugins/fetch/", "statusCode": 301 },
{ "source": "/docs/plugins/partial-hydration/", "destination": "/docs/plugins/is-land/", "statusCode": 301 },
{ "source": "/docs/templates/", "destination": "/docs/projects/", "statusCode": 301 }
],
"rewrites": [
{
"source": "/speedlify/(.*)",
"destination": "https://built-with-11ty-speedlify.vercel.app/speedlify/$1"
}
],
"headers": [
{
"source": "/api/(.*)",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*"
}
]
},
{
"source": "/blog/feed.xml",
"headers": [
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "Content-Type",
"value": "application/xml; charset=utf-8"
}
]
}
]
}