-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
30 lines (30 loc) · 1.28 KB
/
Copy pathvercel.json
File metadata and controls
30 lines (30 loc) · 1.28 KB
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
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"buildCommand": "node scripts/build.mjs",
"outputDirectory": "dist",
"cleanUrls": true,
"trailingSlash": false,
"redirects": [
{ "source": "/about", "destination": "/", "permanent": true },
{ "source": "/contact", "destination": "/", "permanent": true },
{ "source": "/hi", "destination": "/", "permanent": true },
{ "source": "/hey-there", "destination": "/", "permanent": true },
{ "source": "/blog", "destination": "/archive", "permanent": true },
{ "source": "/archives", "destination": "/archive", "permanent": true },
{ "source": "/feed", "destination": "/archive", "permanent": true },
{ "source": "/category/:path*", "destination": "/archive", "permanent": true },
{ "source": "/tag/:path*", "destination": "/archive", "permanent": true },
{ "source": "/author/:path*", "destination": "/", "permanent": true },
{ "source": "/page/:path*", "destination": "/archive", "permanent": true }
],
"headers": [
{
"source": "/fonts/(.*)",
"headers": [{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }]
},
{
"source": "/wp-content/(.*)",
"headers": [{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }]
}
]
}