Repository navigation
Expand file tree
/
Copy pathvercel.json
More file actions
104 lines (104 loc) · 2.97 KB
/
Copy pathvercel.json
File metadata and controls
104 lines (104 loc) · 2.97 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"framework": "astro",
"installCommand": "npm install",
"buildCommand": "npx turbo run build --filter=@skillsmith/website && rm -rf .vercel/output && mkdir -p .vercel && cp -r packages/website/.vercel/output .vercel/output",
"trailingSlash": false,
"rewrites": [
{
"source": "/",
"has": [
{
"type": "host",
"value": "status.skillsmith.app"
}
],
"destination": "/status"
}
],
"redirects": [
{
"source": "/:path((?!_astro/).+)",
"has": [
{
"type": "host",
"value": "status.skillsmith.app"
}
],
"destination": "https://www.skillsmith.app/:path",
"permanent": true
},
{
"source": "/changelog",
"destination": "https://github.com/smith-horn/skillsmith/releases",
"permanent": true
},
{
"source": "/changelog/",
"destination": "https://github.com/smith-horn/skillsmith/releases",
"permanent": true
},
{
"source": "/:path*",
"has": [
{
"type": "host",
"value": "skillsmith.app"
}
],
"destination": "https://www.skillsmith.app/:path*",
"permanent": true
},
{
"source": "/docs/authoring",
"destination": "/docs/tutorials/author",
"permanent": true
},
{
"source": "/docs/authoring/",
"destination": "/docs/tutorials/author",
"permanent": true
},
{
"source": "/account/team",
"destination": "/account",
"statusCode": 301
}
],
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Permissions-Policy",
"value": "camera=(), microphone=(), geolocation=()"
},
{
"key": "Content-Security-Policy",
"value": "default-src 'self'; script-src 'self' 'unsafe-inline' https://www.googletagmanager.com https://www.google-analytics.com https://static.cloudflareinsights.com; style-src 'self' 'unsafe-inline' https://api.fontshare.com https://fonts.googleapis.com; font-src 'self' https://cdn.fontshare.com https://fonts.gstatic.com; img-src 'self' data: https:; connect-src 'self' https://www.google-analytics.com https://region1.google-analytics.com https://analytics.google.com https://*.supabase.co https://api.skillsmith.app https://api.fontshare.com https://cloudflareinsights.com; frame-ancestors 'none'; base-uri 'self'; form-action 'self'; object-src 'none'"
}
]
},
{
"source": "/openapi.yaml",
"headers": [
{
"key": "Content-Type",
"value": "application/yaml; charset=utf-8"
}
]
}
]
}