-
Notifications
You must be signed in to change notification settings - Fork 10
/
netlify.toml
91 lines (70 loc) · 2.08 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[build]
publish = "dist/"
command = "pnpm run netlify-build"
# functions = "dist"
# https://docs.netlify.com/configure-builds/file-based-configuration/#functions
[functions]
# Sets a custom directory for Netlify Functions
directory = "dist/functions"
# Causes expection
# https://github.com/withastro/astro/issues/3984#issue-1310531206
# external_node_modules = ["astro"]
included_files = [
# Include wink model
"node_modules/wink-eng-lite-model/**",
# Markdown files
"src/pages/en/*.md",
]
# https://docs.netlify.com/configure-builds/file-based-configuration/#redirects
[[redirects]]
from = "/tmbd-image*"
to = "/.netlify/functions/tmdb-image/:splat"
status = 200
[[redirects]]
from = "/en/untitled-destin-daniel-cretton-disney-series-198178"
to = "/en/wonder-man-198178"
status = 301
[[redirects]]
from = "/en/marvel-studios-wonder-man-198178"
to = "/en/wonder-man-198178"
status = 301
[[redirects]]
from = "/en/untitled-marvel-halloween-special-894205"
to = "/en/werewolf-by-night-894205"
status = 301
[[redirects]]
from = "/en/captain-america-4-894205"
to = "/en/captain-america-new-world-order-822119"
status = 301
[[redirects]]
from = "/en/agatha-house-of-harkness-138501"
to = "/en/agatha-coven-of-chaos-138501"
status = 301
[[redirects]]
from = "/en/shang-chi-2-912502"
to = "/en/untitled-shang-chi-sequel-912502"
status = 301
[[redirects]]
from = "/en/i-am-groot-207867"
to = "/en/i-am-groot-209930"
status = 301
[[redirects]]
from = "/en/i-am-groot-114469"
to = "/en/i-am-groot-209930"
status = 301
[[redirects]]
from = "/en/i-am-groot-209135"
to = "/en/i-am-groot-209930"
status = 301
[[redirects]]
from = "/en/marvels-avengers-secret-wars-short-206006"
to = "/en/marvels-avengers-secret-wars-206006"
status = 301
[[redirects]]
from = "/en/guardians-of-the-galaxy-vol-3-447365"
to = "/en/guardians-of-the-galaxy-volume-3-447365"
status = 301
# [[redirects]]
# from = "/en/"
# to = "/en/"
# status = 301