-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
58 lines (49 loc) · 1.09 KB
/
netlify.toml
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
[build]
publish = "dist"
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run build"
[[redirects]]
from = "https://w.lucaswinkler.dev/*"
to = "https://www.lucaswinkler.dev/:splat"
status = 301
force = true
[[redirects]]
from = "https://ww.lucaswinkler.dev/*"
to = "https://www.lucaswinkler.dev/:splat"
status = 301
force = true
[[redirects]]
from = "https://wwww.lucaswinkler.dev/*"
to = "https://www.lucaswinkler.dev/:splat"
status = 301
force = true
[[redirects]]
from = "https://lucaswinkler.netlify.app/*"
to = "https://www.lucaswinkler.dev/:splat"
status = 301
force = true
[[redirects]]
from = "/resume"
to = "/resume.pdf"
status = 200
force = true
[[redirects]]
from = "/404"
to = "/404.html"
status = 404
force = true
[[redirects]]
from = "/404.html"
to = "/404.html"
status = 404
force = true
[[headers]]
for = "/manifest.webmanifest"
[headers.values]
Content-Type = "application/manifest+json"
[[headers]]
for = "/assets/*"
[headers.values]
cache-control = '''
max-age=31536000,
immutable
'''