-
Notifications
You must be signed in to change notification settings - Fork 3
/
vercel.json
59 lines (59 loc) · 1.57 KB
/
vercel.json
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
{
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src 'none'; style-src 'unsafe-inline'; script-src 'self' https://view.michael.network/; object-src 'self'; base-uri 'self'; manifest-src 'self'; connect-src 'self' https://view.michael.network/; form-action 'self'; img-src https:; frame-ancestors 'none'; font-src 'self'"
},
{
"key": "Permissions-Policy",
"value": "accelerometer=(), ambient-light-sensor=(), battery=(), camera=(), microphone=(), geolocation=(), gyroscope=()"
},
{
"key": "Referrer-Policy",
"value": "no-referrer"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
}
]
},
{
"source": "/presentations/(.*)",
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src *"
}
]
},
{
"source": "/.well-known/webfinger",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Content-Type",
"value": "application/json"
}
]
}
],
"rewrites": [
{ "source": "/.well-known/webfinger", "destination": "/api/webfinger" },
{ "source": "/.well-known/pay", "destination": "/api/pay" }
]
}