Repository navigation
Expand file tree
/
Copy pathvercel.json
More file actions
63 lines (56 loc) · 3.43 KB
/
Copy pathvercel.json
File metadata and controls
63 lines (56 loc) · 3.43 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
{
"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": "assets/fonts/**/*", "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": "/((?!notes/artifact-host\\.html).*)",
"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" }
]
},
{
"source": "/notes/artifact-host.html",
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src 'none'; script-src 'unsafe-inline' 'unsafe-eval' blob: https://cdn.jsdelivr.net https://esm.sh; style-src 'unsafe-inline' https://cdn.jsdelivr.net https://esm.sh; img-src * data: blob:; font-src https: data:; connect-src https://esm.sh https://cdn.jsdelivr.net; base-uri 'none'; object-src 'none'; frame-ancestors 'self'"
},
{ "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-Robots-Tag", "value": "noindex, noai, noimageai" }
]
}
]
}