-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
48 lines (41 loc) · 854 Bytes
/
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
[build]
command = "npm run build"
publish = "build/"
functions = "functions/"
environment = { VITE_APP_URL = "https://baptiste.devessier.fr/", NODE_VERSION = "16" }
[dev]
framework = "#custom"
command = "npm run dev"
targetPort = 5173
port = 8888
publish = "dist/"
[[redirects]]
from = "/my-way"
to = "/about"
status = 301
force = true
[[redirects]]
from = "/my-journey"
to = "/about"
status = 301
force = true
[[redirects]]
from = "/cv.pdf"
to = "/cv-en.pdf"
status = 301
force = true
[[redirects]]
from = "/note/catch-javascript-errors-in-react-applications-with-error-boundaries/"
to = "/note/catch-javascript-errors-in-react-applications-with-an-error-boundary/"
status = 301
force = true
[[redirects]]
from = "/notes/"
to = "/writing/"
status = 301
force = true
[[redirects]]
from = "/note/*"
to = "/writing/:splat"
status = 301
force = true