-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
58 lines (51 loc) · 1.98 KB
/
Copy pathvercel.json
File metadata and controls
58 lines (51 loc) · 1.98 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
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"cleanUrls": true,
"trailingSlash": false,
"regions": ["sin1"],
"functions": {
"api/**": {
"maxDuration": 15
}
},
"crons": [
{ "path": "/api/cron/sync", "schedule": "0 * * * *" }
],
"redirects": [
{ "source": "/lib/:path*", "destination": "/", "permanent": false },
{ "source": "/.gitattributes", "destination": "/", "permanent": false }
],
"rewrites": [
{ "source": "/info", "destination": "/" },
{ "source": "/submit", "destination": "/home" },
{ "source": "/projects", "destination": "/home" },
{ "source": "/profile", "destination": "/home" },
{ "source": "/error", "destination": "/home" },
{ "source": "/projects/:id", "destination": "/project" },
{ "source": "/admin", "destination": "/api/admin" }
],
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src 'self'; script-src 'self' 'unsafe-inline' https://server.fillout.com; style-src 'self' 'unsafe-inline'; img-src 'self' https://cdn.hackclub.com https://user-cdn.hackclub-assets.com data:; media-src 'self' https://cdn.hackclub.com https://user-cdn.hackclub-assets.com; font-src 'self'; connect-src 'self' https://server.fillout.com https://forms.hackclub.com; frame-src https://forms.hackclub.com https://*.fillout.com; form-action 'self'; base-uri 'self'; object-src 'none'; frame-ancestors 'none'"
},
{ "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=(), payment=(), usb=(), interest-cohort=()"
}
]
},
{
"source": "/api/(.*)",
"headers": [
{ "key": "X-Robots-Tag", "value": "noindex, nofollow" }
]
}
]
}