-
Notifications
You must be signed in to change notification settings - Fork 52
/
vercel.json
68 lines (68 loc) · 2.17 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
60
61
62
63
64
65
66
67
68
{
"installCommand": "npm ci --prefer-offline --no-audit --no-fund",
"buildCommand": "npm run build",
"framework": "sveltekit",
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "Content-Security-Policy",
"value": "script-src * 'unsafe-inline' blob:; script-src-attr 'none'; img-src 'self' *.storyblok.com data: blob:; media-src 'self' *.storyblok.com; object-src *; child-src 'none'; frame-src 'none'; frame-ancestors https://app.storyblok.com; upgrade-insecure-requests"
},
{
"key": "Permissions-Policy",
"value": "fullscreen=*, picture-in-picture=*, autoplay=*, accelerometer=(), ambient-light-sensor=(), battery=(), camera=(), display-capture=(), encrypted-media=(), geolocation=(), gyroscope=(), idle-detection=(), magnetometer=(), microphone=(), midi=(), payment=(), publickey-credentials-get=(), screen-wake-lock=(), serial=(), usb=(), web-share=()"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains; preload"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
}
]
}
],
"redirects": [
{
"source": "/showcase/:path",
"destination": "/projects/:path",
"permanent": true
},
{
"source": "/blog/dangers-of-using-objects-in-usestate--useeffect-reactjs-hooks",
"destination": "/blog/dangers-of-using-objects-in-usestate-useeffect-reactjs-hooks",
"permanent": true
},
{
"source": "/blog/handbook",
"destination": "/blog/we-created-a-handbook"
},
{
"source": "/blog/dark-ui--why-when--where",
"destination": "/blog/dark-ui-why-when-where"
},
{
"source": "/labs",
"destination": "/blog"
},
{
"source": "/labs/css-only-slider",
"destination": "/blog/css-only-slider"
}
]
}