-
Notifications
You must be signed in to change notification settings - Fork 61
/
vercel.json
46 lines (46 loc) 路 889 Bytes
/
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
{
"cleanUrls": true,
"redirects": [
{
"source": "/authors/crutchcorn/",
"destination": "/unicorns/crutchcorn",
"permanent": true
},
{
"source": "/unicorns/",
"destination": "/about",
"permanent": false
},
{
"source": "/posts/",
"destination": "/",
"permanent": true
},
{
"source": "/posts/what-is-use-form-state-and-status",
"destination": "/posts/what-is-use-action-state-and-form-status",
"permanent": true
}
],
"rewrites": [
{
"source": "/areyoumyuser/js/script.js",
"destination": "https://plausible.io/js/script.outbound-links.local.js"
},
{
"source": "/areyoumyuser/api/event",
"destination": "https://plausible.io/api/event"
}
],
"headers": [
{
"source": "/(.*).(ttf|woff2)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
}
]
}