-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
49 lines (42 loc) · 2.53 KB
/
Copy pathvercel.json
File metadata and controls
49 lines (42 loc) · 2.53 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
{
"version": 2,
"builds": [
{ "src": "api/**/*.js", "use": "@vercel/node" },
{ "src": "components/**/*.html", "use": "@vercel/static" },
{ "src": "css/**/*.css", "use": "@vercel/static" },
{ "src": "js/**/*.js", "use": "@vercel/static" },
{ "src": "notes/js/**/*.js", "use": "@vercel/static" },
{ "src": "notes/js/**/*.mjs", "use": "@vercel/static" },
{ "src": "posts/js/**/*.js", "use": "@vercel/static" },
{ "src": "projects/js/**/*.js", "use": "@vercel/static" },
{ "src": "assets/images/**/*", "use": "@vercel/static" },
{ "src": "posts/entries/**/*.md", "use": "@vercel/static" },
{ "src": "notes/courses/**/*", "use": "@vercel/static" },
{ "src": "notes/artifacts/**/*", "use": "@vercel/static" },
{ "src": "notes/artifact-host.html", "use": "@vercel/static" },
{ "src": "projects/metadata.json", "use": "@vercel/static" },
{ "src": "projects/languages/*.json", "use": "@vercel/static" },
{ "src": "posts/metadata/**/*.json", "use": "@vercel/static" },
{ "src": "notes/metadata/**/*.json", "use": "@vercel/static" },
{ "src": "favicon.svg", "use": "@vercel/static" },
{ "src": "robots.txt", "use": "@vercel/static" },
{ "src": "sitemap.xml", "use": "@vercel/static" },
{ "src": "*.html", "use": "@vercel/static" }
],
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src 'self'; base-uri 'self'; object-src 'none'; frame-ancestors 'none'; form-action 'self'; script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net https://challenges.cloudflare.com; style-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net; connect-src 'self' https://api.github.com https://robinc.vercel.app https://challenges.cloudflare.com https://vitals.vercel-insights.com; img-src 'self' data: https:; font-src 'self' https://cdn.jsdelivr.net data:; frame-src 'self' https://challenges.cloudflare.com"
},
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" },
{ "key": "Permissions-Policy", "value": "camera=(), microphone=(), geolocation=(), payment=()" },
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "X-Frame-Options", "value": "DENY" },
{ "key": "X-Robots-Tag", "value": "noai,noimageai" }
]
}
]
}