-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvercel.json
44 lines (44 loc) · 1 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
{
"trailingSlash": false,
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src 'self'; object-src 'none'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; worker-src 'self'; base-uri 'self'; form-action 'none'; frame-ancestors 'self'; upgrade-insecure-requests"
},
{
"key": "Permissions-Policy",
"value": "interest-cohort=()"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
}
]
}
],
"redirects": [
{
"source": "/blog",
"destination": "https://blog.erbridge.co.uk/"
},
{
"source": "/blog(/201[4-6]/[0-1]\\d/[0-3]\\d)*/:path*",
"destination": "https://blog.erbridge.co.uk/archive/:path*"
},
{
"source": "/fiction/:path*",
"destination": "https://library.erbridge.co.uk/read/:path*"
}
]
}