Repository navigation
Expand file tree
/
Copy pathvercel.json
More file actions
34 lines (34 loc) · 1.42 KB
/
Copy pathvercel.json
File metadata and controls
34 lines (34 loc) · 1.42 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
31
32
33
34
{
"cleanUrls": true,
"trailingSlash": false,
"redirects": [
{ "source": "/foundations", "destination": "/labs/foundations", "permanent": true },
{ "source": "/foundations/:slug", "destination": "/labs/foundations/:slug", "permanent": true }
],
"rewrites": [
{
"source": "/:section(map|project-map|posts|verify|evidence|candidate|users|my-profile|get-started|forgot-password|reset-password|oauth-success|ai-agent|billing|progress|team|capstone|blogs|libs|coding-challenges|voice-review|roadmaps/exam)/:path*",
"destination": "/index.html"
},
{
"source": "/:section(map|project-map|get-started|forgot-password|reset-password|oauth-success|ai-agent|billing|progress|team|capstone|blogs|libs|coding-challenges|voice-review|my-profile|users)",
"destination": "/index.html"
}
],
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubDomains; preload" },
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "X-Frame-Options", "value": "DENY" },
{ "key": "Cross-Origin-Opener-Policy", "value": "same-origin-allow-popups" },
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" }
]
},
{
"source": "/assets/(.*)",
"headers": [{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }]
}
]
}